v5.0.0
$emojiName
Returns the emoji name the user reacted with
This function returns the emoji name the user reacted with

Usage

1
bot.command({
2
name: "awaitedReaction",
3
code: `$awaitReaction[everyone;1m;1️⃣;reactionMessage;An error has occured`
4
})
5
​
6
bot.awaitedCommand({
7
name: "reactionMessage",
8
code: `Hi, You reacted to 1️⃣ and the ID is $emojiName`
9
//$emojiName would return 'one'
10
})
Copied!
Last modified 1mo ago
Copy link
Edit on GitHub