Skip to content
Entity Info isChannelMentioned

$isChannelMentioned — Returns whether a channel was mentioned in this message

Returns whether a channel was mentioned in this message

Syntax

$isChannelMentioned[channelID;messageID;channelID]

Parameters

  • channelID (id, required) — Channel to pull the message from
  • messageID (id, required) — The message to get mentions from
  • channelID (id, required) — The entity to check for mentions

Return Value

  • Boolean.

Usage

$isChannelMentioned[channelID;messageID;channelID] → result

Example

$sendMessage[$isChannelMentioned[30;1000;31]]

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.