mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-10 00:23:30 +01:00
Simplified client.rest.methods.DeleteMessage, now only takes a message instead of a channel and a message.
This commit is contained in:
@@ -73,7 +73,7 @@ class Message {
|
||||
}
|
||||
|
||||
delete() {
|
||||
return this.client.rest.methods.DeleteMessage(this.channel, this);
|
||||
return this.client.rest.methods.DeleteMessage(this);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user