mirror of
https://github.com/danbulant/discord.js
synced 2026-05-26 13:32:04 +00:00
Rename Message.addReaction -> Message.react
This commit is contained in:
parent
2c76f5437b
commit
c50de74310
1 changed files with 1 additions and 1 deletions
|
|
@ -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') {
|
||||
|
|
|
|||
Loading…
Reference in a new issue