Preparing Channel class for overwrite capability

This commit is contained in:
hydrabolt
2015-10-03 20:34:24 +01:00
parent e046467d92
commit 6d36977f94
2 changed files with 20 additions and 0 deletions

View File

@@ -7,8 +7,17 @@ class Channel {
this.topic = data.topic;
this.id = data.id;
this.messages = [];
this.roles = [];
//this.isPrivate = isPrivate; //not sure about the implementation of this...
}
get permissionOverwrites(){
return this.roles;
}
get permissions(){
return this.roles;
}
get client() {
return this.server.client;