Skip to content

Commit

Permalink
fix(MessageReaction): set MessageReaction#me in patch method (#5047)
Browse files Browse the repository at this point in the history
  • Loading branch information
monbrey authored Nov 25, 2020
1 parent 4fcb9eb commit 6b322f4
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/structures/MessageReaction.js
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand All @@ -54,6 +48,12 @@ class MessageReaction {
*/
this.count = data.count;
}

/**
* Whether the client has given this reaction
* @type {boolean}
*/
this.me = data.me;
}

/**
Expand Down

0 comments on commit 6b322f4

Please sign in to comment.