$userReacted

Checks if a user has reacted to a message with the given emoji. Returns true or false.

Usage

$userReacted[channelID;messageID;userID;reaction]
  1. channelID - (Optional) default value: $channelID. The ID of a channel you want to check reaction in.
  2. messageID - (Optional) default value: $messageID. The ID of a message you want to check reaction on.
  3. userID - (Optional) default value: $authorID. The ID of a user you want to check from if they reacted.
  4. reaction - The emoji you want to check if user reacted with. For custom emojis, you can use their ID, which can be found when you send it into any channel with a backslash before it.

Example

Using $userReacted

How to use $userReacted

User04/23/2025
!!exec $wait[5s] $userReacted[;;;DogSmile]
DogSmile1
Custom Command Bot 04/23/2025
true

Cache

This function works on the bot's cache to find members. If the user is not cached, the function will not find them. User will be cached after they trigger any command from this bot, but eventually they will get deleted.
To have all members cached, you will need Tier 5 Bot.

Function difficulty: Easy
Tags: reaction user