Components & Interactions
disableButtons
$disableButtons — Disables all buttons on the current message
Disables all buttons on the current message
Syntax
$disableButtons[index]
Parameters
- index (number, required) — The index of the row to disable
Return Value
- String.
Usage
$disableButtons[index] → result
Example
$addButton[yes;a;Ok;primary]$addButton[yes;b;No;secondary]$disableButtons[1]
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.