Browse Source

Add data models

shorten
benji7425 4 years ago
parent
commit
372e6f3d74
  1. 7
      app/models/feed.js
  2. 6
      app/models/guild-data.js

7
app/models/feed.js

@ -0,0 +1,7 @@
module.exports = class Feed{
constructor({link, channelName, roleID}){
this.link = link;
this.channelName = channelName;
this.roleID = roleID;
}
};

6
app/models/guild-data.js

@ -0,0 +1,6 @@
module.exports = class GuildData {
constructor({id, feeds}) {
this.id = id;
this.feeds = feeds
}
};
Loading…
Cancel
Save