Skip to content
Moderation disableComponentsOf

$disableComponentsOf — Disables all components of a message, returns bool

Disables all components of a message, returns bool

Syntax

$disableComponentsOf[channelID;messageID]

Parameters

  • channelID (id, required) — The channel id to pull message from
  • messageID (id, required) — The message to disable components on

Return Value

  • Boolean.

Usage

$disableComponentsOf[channelID;messageID] → result

Example

$sendMessage[$disableComponentsOf[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.