We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c936232 commit c77b3afCopy full SHA for c77b3af
lib/structures/Message.js
@@ -83,7 +83,7 @@ class Message extends Base {
83
? this._client.guilds.get(data.referenced_message.guild_id).channels.get(data.referenced_message.channel_id)
84
: this._client.privateChannels.get(data.referenced_message.channel_id);
85
if(channel) {
86
- this.referencedMessage = channel.messages.update(data.referenced_message);
+ this.referencedMessage = channel.messages.update(data.referenced_message, this._client);
87
} else {
88
this.referencedMessage = new Message(data.referenced_message, this._client);
89
}
0 commit comments