mirror of
https://github.com/danbulant/discord.js
synced 2026-05-24 20:42:27 +00:00
parent
306ea97f99
commit
c73e501243
1 changed files with 1 additions and 1 deletions
|
|
@ -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({
|
||||
|
|
|
|||
Loading…
Reference in a new issue