fix(MessageReaction): set MessageReaction#me in patch method (#5047)

This commit is contained in:
monbrey
2020-11-26 09:55:29 +11:00
committed by iCrawl
parent 5328648f45
commit a6b922f8ae

View File

@@ -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;
} }
/** /**