mirror of
https://github.com/danbulant/discord.js
synced 2026-06-20 07:02:00 +00:00
Fixed channel.delete()
This commit is contained in:
parent
083244f744
commit
68ac437ef0
2 changed files with 2 additions and 2 deletions
|
|
@ -20,7 +20,7 @@ var Channel = (function (_Equality) {
|
|||
}
|
||||
|
||||
Channel.prototype["delete"] = function _delete() {
|
||||
return this.client.internal.deleteChannel(this);
|
||||
return this.client.deleteChannel.apply(this, arguments);
|
||||
};
|
||||
|
||||
return Channel;
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@ class Channel extends Equality{
|
|||
}
|
||||
|
||||
delete(){
|
||||
return this.client.internal.deleteChannel(this);
|
||||
return this.client.deleteChannel.apply(this, arguments);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue