mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-14 18:43:31 +01:00
Add Message Reaction me
This commit is contained in:
@@ -55,13 +55,17 @@ class ReactionEmoji {
|
||||
* Represents a reaction to a message
|
||||
*/
|
||||
class MessageReaction {
|
||||
constructor(message, emoji, count) {
|
||||
constructor(message, emoji, count, me) {
|
||||
/**
|
||||
* The message that this reaction refers to
|
||||
* @type {Message}
|
||||
*/
|
||||
this.message = message;
|
||||
|
||||
/**
|
||||
* Whether the client has given this reaction
|
||||
* @type {boolean}
|
||||
*/
|
||||
this.me = me;
|
||||
this._emoji = new ReactionEmoji(this, emoji.name, emoji.id);
|
||||
/**
|
||||
* The number of people that have given the same reaction.
|
||||
|
||||
Reference in New Issue
Block a user