mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-12 01:23:31 +01:00
Rename Message.addReaction -> Message.react
This commit is contained in:
@@ -386,7 +386,7 @@ class Message {
|
||||
* @param {Emoji|ReactionEmoji|string} emoji Emoji to react with
|
||||
* @returns {Promise<MessageReaction>}
|
||||
*/
|
||||
addReaction(emoji) {
|
||||
react(emoji) {
|
||||
if (emoji.identifier) {
|
||||
emoji = emoji.identifier;
|
||||
} else if (typeof emoji === 'string') {
|
||||
|
||||
Reference in New Issue
Block a user