Moderation
disableButtonsOf
$disableButtonsOf — Disables all buttons of a message, returns bool
Disables all buttons of a message, returns bool
Syntax
$disableButtonsOf[channelID;messageID;(index)]
Parameters
- channelID (id, required) — The channel id to pull message from
- messageID (id, required) — The message to disable buttons on
- index (number, optional) — The index of the row to disable
Return Value
- Boolean.
Usage
$disableButtonsOf[channelID;messageID;(index)] → result
Example
$sendMessage[$disableButtonsOf[30;1000]]
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.