mirror of
https://github.com/danbulant/discord.js
synced 2026-07-09 05:00:48 +00:00
Webpack build for branch master: c73e501243
This commit is contained in:
parent
ea80458bb7
commit
b469af6ee7
2 changed files with 2 additions and 2 deletions
|
|
@ -22902,7 +22902,7 @@ class RESTMethods {
|
||||||
removeMessageReaction(message, emoji, user) {
|
removeMessageReaction(message, emoji, user) {
|
||||||
let endpoint = Constants.Endpoints.selfMessageReaction(message.channel.id, message.id, emoji);
|
let endpoint = Constants.Endpoints.selfMessageReaction(message.channel.id, message.id, emoji);
|
||||||
if (user !== this.client.user.id) {
|
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(() =>
|
return this.rest.makeRequest('delete', endpoint, true).then(() =>
|
||||||
this.client.actions.MessageReactionRemove.handle({
|
this.client.actions.MessageReactionRemove.handle({
|
||||||
|
|
|
||||||
2
discord.master.min.js
vendored
2
discord.master.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue