Skip to content
Entity Info hasComponents

$hasComponents — Checks whether given message has components

Checks whether given message has components

Syntax

$hasComponents[channelID;messageID]

Parameters

  • channelID (id, required) — The channel to get message from
  • messageID (id, required) — The message to check for components

Return Value

  • Boolean.

Usage

$hasComponents[channelID;messageID] → result

Example

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