mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-09 16:13:31 +01:00
@@ -494,7 +494,7 @@ class Message extends Base {
|
||||
* .catch(console.error);
|
||||
*/
|
||||
edit(content, options) {
|
||||
options = content instanceof APIMessage ? content : APIMessage.create(this.channel, content, options);
|
||||
options = content instanceof APIMessage ? content : APIMessage.create(this, content, options);
|
||||
return this.channel.messages.edit(this.id, options);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user