mirror of
https://github.com/danbulant/discord.js
synced 2026-07-05 11:10:38 +00:00
fix(MessageReaction): set MessageReaction#me in patch method (#5047)
This commit is contained in:
parent
5328648f45
commit
a6b922f8ae
1 changed files with 6 additions and 6 deletions
|
|
@ -28,12 +28,6 @@ class MessageReaction {
|
||||||
*/
|
*/
|
||||||
this.message = message;
|
this.message = message;
|
||||||
|
|
||||||
/**
|
|
||||||
* Whether the client has given this reaction
|
|
||||||
* @type {boolean}
|
|
||||||
*/
|
|
||||||
this.me = data.me;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* A manager of the users that have given this reaction
|
* A manager of the users that have given this reaction
|
||||||
* @type {ReactionUserManager}
|
* @type {ReactionUserManager}
|
||||||
|
|
@ -54,6 +48,12 @@ class MessageReaction {
|
||||||
*/
|
*/
|
||||||
this.count = data.count;
|
this.count = data.count;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Whether the client has given this reaction
|
||||||
|
* @type {boolean}
|
||||||
|
*/
|
||||||
|
this.me = data.me;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue