$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.
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 a built-in cooldown to help prevent excessive usage.
| Property | Value |
|---|---|
| ⏱️ Duration | 1 minute |
| 🆔 Tracked By | Channel ID |
| 🌐 Scope | Fetch |
Functions with the same Scope share cooldowns based on the same
Tracked Byvalue.
💎 Tier 3+ servers bypass this cooldown. See Premium Perks.