$editButton

Edits an existing button using its (ID/label/Emoji/URL).

Usage: $editButton[Message ID;Query (optional, default: edit the last button);label/style/emoji/disabled/url/custom_id;New Value]

Example

(Disable the last button)

(Change the label by URL)

(Change the color by label)

Function difficulty: Medium
Tags: button edit interaction

⏱️ Function Cooldown

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

PropertyValue
⏱️ Duration9 seconds
🆔 Tracked ByMessage 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.