Skip to content

Commit a6b922f

Browse files
monbreyiCrawl
authored andcommitted
fix(MessageReaction): set MessageReaction#me in patch method (#5047)
1 parent 5328648 commit a6b922f

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/structures/MessageReaction.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,6 @@ class MessageReaction {
2828
*/
2929
this.message = message;
3030

31-
/**
32-
* Whether the client has given this reaction
33-
* @type {boolean}
34-
*/
35-
this.me = data.me;
36-
3731
/**
3832
* A manager of the users that have given this reaction
3933
* @type {ReactionUserManager}
@@ -54,6 +48,12 @@ class MessageReaction {
5448
*/
5549
this.count = data.count;
5650
}
51+
52+
/**
53+
* Whether the client has given this reaction
54+
* @type {boolean}
55+
*/
56+
this.me = data.me;
5757
}
5858

5959
/**

0 commit comments

Comments
 (0)