mirror of
https://github.com/danbulant/discord.js
synced 2026-07-09 05:00:48 +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
|
* @param {Emoji|ReactionEmoji|string} emoji Emoji to react with
|
||||||
* @returns {Promise<MessageReaction>}
|
* @returns {Promise<MessageReaction>}
|
||||||
*/
|
*/
|
||||||
addReaction(emoji) {
|
react(emoji) {
|
||||||
if (emoji.identifier) {
|
if (emoji.identifier) {
|
||||||
emoji = emoji.identifier;
|
emoji = emoji.identifier;
|
||||||
} else if (typeof emoji === 'string') {
|
} else if (typeof emoji === 'string') {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue