Custom Command
FunctionsMessage Functions

$clearReactions

This function allows you to clear reactions from a specific message. You can either clear all reactions or only those associated with a particular emoji.

Usage

$clearReactions[channelId;messageId;all/emoji]

Arguments:

  • channelId: The ID of the channel where the message is located.
  • messageId: The ID of the message to clear reactions from.
  • all/emoji: Specify either all to clear all reactions from the message, or provide the emoji itself to clear only reactions of that specific emoji.

Example:

Clearing all reactions from a message:

$clearReactions[8372387429384729;9483749283749283;all]

Clearing only the 👍 reactions from a message:

$clearReactions[8372387429384729;9483749283749283;👍]

Visual Example

Difficulty: Easy

Tags: Clear Reactions

Function Cooldown

This function has built-in cooldown. Why? Read more about cooldowns here.

  • Cooldown: 10 seconds
  • Tracked By: Channel ID
  • Type: messageupdate

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

On this page