mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-18 04:23:31 +01:00
Fixed channel.delete()
This commit is contained in:
@@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user