Scheduled events
deleteEvent
$deleteEvent
Deletes a scheduled event. This function is a Bot Creator extension: it does not exist in the official BDFD wiki. It runs the same Discord logic as the matching action.
Syntax
$deleteEvent[eventID]
Parameters
| Parameter | Description |
|---|---|
eventID |
Required. The event ID. |
Return Value
- Returns nothing.
Behavior
- The bot needs Manage Events.
Examples
$deleteEvent[$message[1]]
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.