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

@@ -82,6 +82,16 @@ var Channel = (function () {
get: function get() {
return false;
}
}, {
key: "users",
get: function get() {
return this.server.members;
}
}, {
key: "members",
get: function get() {
return this.server.members;
}
}]);
return Channel;