mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-17 03:53:29 +01:00
@@ -494,7 +494,7 @@ class Message extends Base {
|
|||||||
* .catch(console.error);
|
* .catch(console.error);
|
||||||
*/
|
*/
|
||||||
edit(content, options) {
|
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);
|
return this.channel.messages.edit(this.id, options);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user