fix(Message): force fetching (#8047)

This commit is contained in:
muchnameless
2022-06-09 10:35:52 +02:00
committed by GitHub
parent b2eea1c900
commit f2b267c079
2 changed files with 2 additions and 2 deletions

View File

@@ -835,7 +835,7 @@ class Message extends Base {
*/
fetch(force = true) {
if (!this.channel) return Promise.reject(new Error('CHANNEL_NOT_CACHED'));
return this.channel.messages.fetch(this.id, { force });
return this.channel.messages.fetch({ message: this.id, force });
}
/**