Add data models

This commit is contained in:
benji7425 2017-07-26 23:53:01 +01:00
parent f743135197
commit 372e6f3d74
2 changed files with 13 additions and 0 deletions

7
app/models/feed.js Normal file
View File

@ -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 Normal file
View File

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