$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.
Explanation:
- The user enters the command
!!exec $eventExists[Invalid event id]
. - The
$eventExists
function checks if an event exists with the IDInvalid event id
. - Since no event with that ID exists, the function returns
false
.