mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-10 08:33:30 +01:00
Added channel.delete()
This commit is contained in:
@@ -17,6 +17,10 @@ class Channel {
|
||||
setup(data) {
|
||||
this.id = data.id;
|
||||
}
|
||||
|
||||
delete() {
|
||||
return this.client.rest.methods.DeleteChannel(this);
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = Channel;
|
||||
|
||||
Reference in New Issue
Block a user