mirror of
https://github.com/discordjs/discord.js.git
synced 2026-05-31 08:00:07 +00: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