Skip to content
Components & Interactions enableButtons

$enableButtons — Enables all buttons on the current message

Enables all buttons on the current message

Syntax

$enableButtons[index]

Parameters

  • index (number, required) — The index of the row to enable

Return Value

  • String.

Usage

$enableButtons[index] → result

Example

$addButton[yes;a;Ok;primary;yes]$enableButtons

Try it

Paste an example into the playground to preview its message (functions that act on Discord are not run), or build the same thing with blocks.