diff --git a/lib/Structures/Channel.js b/lib/Structures/Channel.js index 5f8090d38..5d4fdbafd 100644 --- a/lib/Structures/Channel.js +++ b/lib/Structures/Channel.js @@ -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; diff --git a/src/Structures/Channel.js b/src/Structures/Channel.js index 574b58732..604c6004d 100644 --- a/src/Structures/Channel.js +++ b/src/Structures/Channel.js @@ -13,7 +13,7 @@ class Channel extends Equality{ } delete(){ - return this.client.internal.deleteChannel(this); + return this.client.deleteChannel.apply(this, arguments); } }