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 f44fbe6 commit 9c9d085Copy full SHA for 9c9d085
src/client/actions/MessageUpdate.js
@@ -7,7 +7,7 @@ class MessageUpdateAction extends Action {
7
8
const channel = client.channels.get(data.channel_id);
9
if (channel) {
10
- const message = channel.messages.get(data.id);
+ const message = channel.messages?.get(data.id);
11
if (message) {
12
message.patch(data);
13
client.emit(Constants.Events.MESSAGE_UPDATE, message._edits[0], message);
0 commit comments