From c73e501243162cf46cdedb48ab087886619b1bee Mon Sep 17 00:00:00 2001 From: Programmix Date: Sat, 21 Jan 2017 16:48:17 -0800 Subject: [PATCH] Fix RESTMethods.removeMessageReaction (fixes #1114) (#1126) --- src/client/rest/RESTMethods.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/rest/RESTMethods.js b/src/client/rest/RESTMethods.js index da1f2142b..b6983e338 100644 --- a/src/client/rest/RESTMethods.js +++ b/src/client/rest/RESTMethods.js @@ -694,7 +694,7 @@ class RESTMethods { removeMessageReaction(message, emoji, user) { let endpoint = Constants.Endpoints.selfMessageReaction(message.channel.id, message.id, emoji); if (user !== this.client.user.id) { - endpoint = Constants.Endpoints.userMessageReaction(message.channel.id, message.id, emoji, null, user.id); + endpoint = Constants.Endpoints.userMessageReaction(message.channel.id, message.id, emoji, null, user); } return this.rest.makeRequest('delete', endpoint, true).then(() => this.client.actions.MessageReactionRemove.handle({