$userReacted

Checks if a user reacted to a message with the provided emoji. Returns “true” if the user did react otherwise, “false”.

Syntax

$userReacted[Channel ID;Message ID;User ID;Emoji]

Parameters

  • Channel ID (Type: Snowflake || Flag: Required): The channel where the message is located.
  • Message ID (Type: Snowflake || Flag: Required): The message to check the reactions for.
  • User ID (Type: Snowflake || Flag: Required): The user to check the reaction for.
  • Emoji (Type: Emoji || Flag: Required): The emoji of the reaction to check.

Example

$nomention
$userReacted[$channelID;$message;$authorID;❤️]
Reactions! Message ID: 1291801528054845451 !example 1291801528054845451 Reacted?: true Reactions! Message ID: 1291802266793414717 !example 1291802266793414717 Reacted?: false

What is this?

How $channelID, $message and $authorID works?