$onInteraction
Triggered upon an interaction being emitted (e.g. a button being clicked).
Syntax
$onInteraction
Supports
Example
$nomention
$if[$customID==interaction]
$sendMessage[Hello!]
$endif
$if[$customID==onlyauthor-$authorID]
$sendMessage[Hello $displayName!]
$endif
How
$if[]
or$customID[]
works?