mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-09 16:13:31 +01:00
Added message sending
This commit is contained in:
@@ -17,6 +17,7 @@ var ServerChannel = (function (_Channel) {
|
||||
_classCallCheck(this, ServerChannel);
|
||||
|
||||
_Channel.call(this, data, client);
|
||||
this.name = data.name;
|
||||
this.type = data.type;
|
||||
this.permissionOverwrites = new Cache();
|
||||
data.permission_overwrites.forEach(function (permission) {
|
||||
@@ -24,6 +25,10 @@ var ServerChannel = (function (_Channel) {
|
||||
});
|
||||
}
|
||||
|
||||
ServerChannel.prototype.toString = function toString() {
|
||||
return this.name;
|
||||
};
|
||||
|
||||
return ServerChannel;
|
||||
})(Channel);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user