mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-20 05:23:31 +01:00
docs: only cached messages emit reaction events (#2607)
* wording improvement * wording improvement for docs * docs: wording * wording * user account only: docs * Edited * Edited Signed-off-by: SpaceEEC <spaceeec@yahoo.com>
This commit is contained in:
@@ -28,7 +28,7 @@ class MessageReactionAdd extends Action {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Emitted whenever a reaction is added to a message.
|
* Emitted whenever a reaction is added to a cached message.
|
||||||
* @event Client#messageReactionAdd
|
* @event Client#messageReactionAdd
|
||||||
* @param {MessageReaction} messageReaction The reaction object
|
* @param {MessageReaction} messageReaction The reaction object
|
||||||
* @param {User} user The user that applied the emoji or reaction emoji
|
* @param {User} user The user that applied the emoji or reaction emoji
|
||||||
|
|||||||
@@ -28,7 +28,7 @@ class MessageReactionRemove extends Action {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Emitted whenever a reaction is removed from a message.
|
* Emitted whenever a reaction is removed from a cached message.
|
||||||
* @event Client#messageReactionRemove
|
* @event Client#messageReactionRemove
|
||||||
* @param {MessageReaction} messageReaction The reaction object
|
* @param {MessageReaction} messageReaction The reaction object
|
||||||
* @param {User} user The user that removed the emoji or reaction emoji
|
* @param {User} user The user that removed the emoji or reaction emoji
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ class MessageReactionRemoveAll extends Action {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Emitted whenever all reactions are removed from a message.
|
* Emitted whenever all reactions are removed from a cached message.
|
||||||
* @event Client#messageReactionRemoveAll
|
* @event Client#messageReactionRemoveAll
|
||||||
* @param {Message} message The message the reactions were removed from
|
* @param {Message} message The message the reactions were removed from
|
||||||
*/
|
*/
|
||||||
|
|||||||
Reference in New Issue
Block a user