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:
monbrey
2021-06-24 09:02:30 +10:00
committed by GitHub
parent 1816a93b1b
commit 2d7c12b0e9
4 changed files with 29 additions and 11 deletions

View File

@@ -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);
}
/**