mirror of
https://github.com/danbulant/discord.js
synced 2026-07-07 04:00:42 +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() {
|
Channel.prototype["delete"] = function _delete() {
|
||||||
return this.client.internal.deleteChannel(this);
|
return this.client.deleteChannel.apply(this, arguments);
|
||||||
};
|
};
|
||||||
|
|
||||||
return Channel;
|
return Channel;
|
||||||
|
|
|
||||||
|
|
@ -13,7 +13,7 @@ class Channel extends Equality{
|
||||||
}
|
}
|
||||||
|
|
||||||
delete(){
|
delete(){
|
||||||
return this.client.internal.deleteChannel(this);
|
return this.client.deleteChannel.apply(this, arguments);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue