(for premium bots)
Awaited reactions are similar to awaited commands. Unlike awaited commands which wait for a message, they wait for a reaction instead.
📝 Reaction roles are not possible at the moment since awaited reactions can only be triggered by the author and they expire whenever the bot goes offline.
To create an awaited reaction command, following functions and callback are used :
This function is used to await a reaction command.
(Type: String || Flag: Required): It's the name which will be used inside the
(Type: Emoji || Flag: Required): It awaits the given emoji. Emoji must be either in Unicode or in Discord emoji ID format.
📝 You can group reactions by specifying more "command names" and "reactions" in
⚠️ In group reactions, when one reaction is used, the others stop working i.e let's say, a command awaits two reactions (✔️ & ❌). If the user reacts ✔️ then ❌ stops working.
$reaction is a callback. It gets triggered whenever an awaited reaction occurs.
(Type: String || Flag: Required): It's the value which is used in the "command name" argument of
This function is used to return the emoji which was triggered in the