$addButton

Adds a button to an existing message. Use $button to send a message with a button.

Usage

$addButton[Message ID;Label;style/url;link/id;emoji(optional);Add to a new role (yes/no, optional); disabled (yes/no, optional)]

Example

(Add a simple button) (Add in new row) (Add disabled)

Available colors

red, green, blurple, grey, url
URL buttons are grey by default.

  • You can use normal unicode emojis, custom emojis with their ID, or you can use $customEmoji.
Function difficulty: Easy
Tags: button add interaction create

⏱️ Function Cooldown

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

PropertyValue
⏱️ Duration10 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.