Skip to content
Entity Info isUserMentioned

$isUserMentioned — Returns whether a user was mentioned in this message

Returns whether a user was mentioned in this message

Syntax

$isUserMentioned[channelID;messageID;userID]

Parameters

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

Return Value

  • Boolean.

Usage

$isUserMentioned[channelID;messageID;userID] → result

Example

$sendMessage[$isUserMentioned[30;1000;20]]

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.