Skip to content

Commit c77b3af

Browse files
authored
Fix handling replies in DM Channels (#1120)
1 parent c936232 commit c77b3af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/structures/Message.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ class Message extends Base {
8383
? this._client.guilds.get(data.referenced_message.guild_id).channels.get(data.referenced_message.channel_id)
8484
: this._client.privateChannels.get(data.referenced_message.channel_id);
8585
if(channel) {
86-
this.referencedMessage = channel.messages.update(data.referenced_message);
86+
this.referencedMessage = channel.messages.update(data.referenced_message, this._client);
8787
} else {
8888
this.referencedMessage = new Message(data.referenced_message, this._client);
8989
}

0 commit comments

Comments
 (0)