Skip to content
Moderation deleteComponentFrom

$deleteComponentFrom — Deletes a message component with given custom id from a message

Deletes a message component with given custom id from a message

Syntax

$deleteComponentFrom[channelID;messageID;customID]

Parameters

  • channelID (id, required) — The channel id to pull message from
  • messageID (id, required) — The message to remove component from
  • customID (id, required) — The component’s custom id to delete

Return Value

  • Boolean.

Usage

$deleteComponentFrom[channelID;messageID;customID] → result

Example

$sendMessage[$deleteComponentFrom[30;1000;no]]

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.