mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-10 16:43:31 +01:00
fix(Message): flags not being parsed on some edits (#5886)
* fix(Message): flags not being parsed on some edits * refactor(MessageManager): access cache once
This commit is contained in:
@@ -559,7 +559,7 @@ class Message extends Base {
|
||||
* .catch(console.error);
|
||||
*/
|
||||
edit(options) {
|
||||
return this.channel.messages.edit(this.id, options);
|
||||
return this.channel.messages.edit(this, options);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user