Added message sending

This commit is contained in:
hydrabolt
2015-10-31 22:59:53 +00:00
parent cc3f9d931a
commit 28308433da
14 changed files with 585 additions and 82 deletions

View File

@@ -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);