mirror of
https://github.com/danbulant/discord.js
synced 2026-06-19 06:31:20 +00:00
fix(MessageReaction): set MessageReaction#me in patch method (#5047)
This commit is contained in:
parent
4fcb9ebf30
commit
6b322f47a0
1 changed files with 6 additions and 6 deletions
|
|
@ -28,12 +28,6 @@ class MessageReaction {
|
|||
*/
|
||||
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
|
||||
* @type {ReactionUserManager}
|
||||
|
|
@ -54,6 +48,12 @@ class MessageReaction {
|
|||
*/
|
||||
this.count = data.count;
|
||||
}
|
||||
|
||||
/**
|
||||
* Whether the client has given this reaction
|
||||
* @type {boolean}
|
||||
*/
|
||||
this.me = data.me;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in a new issue