$eventExists

Checks if an event with the specified ID exists.

Usage

$eventExists[event id]

Parameters:

  • event id: The ID of the event you want to check. This is usually a string of characters representing a unique event created in your bot's system.

Example

This example demonstrates using $eventExists to check for an event with an invalid ID.

Member04/23/2025
!!exec $eventExists[Invalid event id]
Custom Command Bot 04/23/2025
false

Explanation:

  • The user enters the command !!exec $eventExists[Invalid event id].
  • The $eventExists function checks if an event exists with the ID Invalid event id.
  • Since no event with that ID exists, the function returns false.