Skip to content
Components & Interactions deleteActionRow

$deleteActionRow — Deletes an action row or top level component at given index

Deletes an action row or top level component at given index

Syntax

$deleteActionRow[index]

Parameters

  • index (number, required) — The row index to delete

Return Value

  • String.

Usage

$deleteActionRow[index] → result

Example

$addButton[yes;a;Ok;primary]$addButton[yes;b;No;secondary]$deleteActionRow[0]

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.