Skip to content
Entity Info messageExists

$messageExists — Returns whether given message id exists

Returns whether given message id exists

Syntax

$messageExists[channelID;messageID]

Parameters

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

Return Value

  • Boolean.

Usage

$messageExists[channelID;messageID] → result

Example

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