Custom Command
FunctionsMessage Functions

$messageExists

Checks if a message exists in a specified channel and returns true or false.

Usage:

$messageExists[channelID;messageID]
  • channelID: The ID of the channel where the message should be checked.
  • messageID: The ID of the message to check for.

Example:

Let's say you want to check if a message with the ID 123456789012345678 exists in the channel with the ID 987654321098765432.

Member
9/5/2026

!!exec $messageExists[987654321098765432;123456789012345678]

Custom Command
APP
9/5/2026
true

In this example, if the message exists, the bot will return true. If the message doesn't exist, the bot will return false.

Function Difficulty: Easy

Tags: Exists Message

Function Cooldown

This function has built-in cooldown. Why? Read more about cooldowns here.

  • Cooldown: 1 minute
  • Tracked By: Channel ID
  • Type: fetch

Functions with the same type share cooldowns based on the same Tracked By value.

On this page