mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-09 16:13:31 +01:00
Added shortcut to users from channel class
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user