Added channel.delete()

This commit is contained in:
hydrabolt
2015-11-15 13:55:29 +00:00
parent 4973412439
commit 083244f744
2 changed files with 8 additions and 0 deletions

View File

@@ -19,6 +19,10 @@ var Channel = (function (_Equality) {
this.client = client;
}
Channel.prototype["delete"] = function _delete() {
return this.client.internal.deleteChannel(this);
};
return Channel;
})(Equality);