Custom Command
FunctionsButton Functions

$disableButton

Disables a button using its (ID/label/Emoji/URL).

Usage

$disableButton[Message ID;Label/Emoji/URL/ID (optional, default: disables the last button); Channel ID (optional, default $channelID)]
Example

(Disable button by emoji) (Disable button by URL) (Disable button by ID) (Disable button by label) (Disable the last button )

Function difficulty: Easy

Tags: Disable Button Interaction

Function Cooldown

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

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

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

On this page