Added shortcut to users from channel class

This commit is contained in:
hydrabolt
2015-09-26 21:43:49 +01:00
parent 2f9585a6b9
commit ca1b4bdf0e
2 changed files with 18 additions and 0 deletions

View File

@@ -46,6 +46,14 @@ class Channel {
get isPrivate(){
return false;
}
get users(){
return this.server.members;
}
get members(){
return this.server.members;
}
}
module.exports = Channel;