$clearReaction

Removes a specific reaction from a message for a given user.

Usage: $clearReaction[channelId;messageId;userId;emoji]

Parameters:

  • channelId: The ID of the channel where the message is located.
  • messageId: The ID of the message to remove the reaction from.
  • userId: The ID of the user whose reaction should be removed.
  • emoji: The emoji to remove (can be the emoji itself or the emoji ID for custom emojis).

Example

This example shows how to remove a specific user's reaction from a message.

Difficulty: Easy
Tags: clear reaction

⏱️ Function Cooldown

This function has a built-in cooldown to help prevent excessive usage.

PropertyValue
⏱️ Duration10 seconds
🆔 Tracked ByChannel ID
🌐 ScopeMessageupdate

Functions with the same Scope share cooldowns based on the same Tracked By value.

💎 Tier 3+ servers bypass this cooldown. See Premium Perksopen in new window.