$addMessageReactions
Adds reactions to the specified message.
Syntax
$addMessageReactions[Channel ID;Message ID;Emojis;...]
Parameters
Channel ID
(Type: Snowflake || Flag: Required)
: The ID of the channel where the message is located.Message ID
(Type: Snowflake || Flag: Required)
: The ID of the message to which the reactions will be added.Emojis
(Type: Emoji || Flag: Required)
: The emoji(s) to add as reaction to the message. Use semicolons;
as a separator to separate multiple emojis.
You can use unicode emojis, emoji IDs, and emoji aliases.
For emoji aliases, make sure to put
:
in front and at the end of the alias.
For emoji IDs, the bot must be present in the server that the emoji originates from.List of unicode emojis: 😋 Get Emoji
List of supported emoji aliases: Emoji Aliases
Example
$nomention
$trimContent
$addMessageReactions[$channelID;$message[1];👍;✨;<:coolemoji:991742553340792882>]
Successfully added the reactions to the message.
How to get emoji ID?
This method requires Developer Mode to be enabled!
- Type
\:TheEmojiName:
- Send the message.
- Copy the ID it returns. (The emoji ID should be in this format:
<:emojiName:ID>
. If the emoji is animated, it should look like this:<a:emojiName:ID>
) - Input the emoji ID into
$addMessageReactions[]
. (e.g.$addMessageReactions[$channelID;1123254137547653222;<:hollyDab:828628880629825546>]
)
If you’re still having issues, check the Troubleshooting page.