Event Command
This command allows server administrators to manage events or automated actions within their server. Users can create, edit, delete, and list events that trigger specific actions based on defined conditions.
/event create
Section titled “/event create”This command allows users to create a new event that triggers specific actions based on defined conditions. Users can specify the event type and configure its settings.
Use the command followed by the event type you want to create.
| Parameter | Type | Description | Required | Choices |
|---|---|---|---|---|
| trigger | String | The type of event to create. | Yes | Message Create, Message Update, Message Delete, Channel Create, Channel Update, Channel Delete, Guild Update, Guild Ban Add, Guild Ban Remove, Guild Member Add, Guild Member Remove, Guild Member Update, Guild Role Create, Guild Role Update, Guild Role Remove, Message Reaction Add, Message Reaction Remove, Interaction Create, Voice State Update, Guild Warn Create, Guild Warn Delete |
/event create trigger:Message Create- Creates a new event that triggers on message creation.
- Users need the “Manage Server” permission to use this command.
/event delete
Section titled “/event delete”This command allows users to delete an existing event from the server.
Use the command followed by the event ID you want to delete.
| Parameter | Type | Description | Required | Choices |
|---|---|---|---|---|
| event | String | The ID of the event to delete. | Yes | N/A |
/event delete event:abc123- Deletes the event with the ID “abc123”.
- Users need the “Manage Server” permission to use this command.
/event list
Section titled “/event list”This command allows users to list all events in the server. It displays the event names, descriptions, triggers, and IDs.
Use the command to list all events in the server. You can optionally filter by event trigger type.
| Parameter | Type | Description | Required | Choices |
|---|---|---|---|---|
| trigger | String | The type of event to filter by. | No | Message Create, Message Update, Message Delete, Channel Create, Channel Update, Channel Delete, Guild Update, Guild Ban Add, Guild Ban Remove, Guild Member Add, Guild Member Remove, Guild Member Update, Guild Role Create, Guild Role Update, Guild Role Remove, Message Reaction Add, Message Reaction Remove, Interaction Create, Voice State Update, Guild Warn Create, Guild Warn Delete |
/event list- Lists all events in the server./event list trigger:Message Create- Lists all events that trigger on message creation.
- Users need the “Manage Server” permission to use this command.
/event share
Section titled “/event share”This command allows users to share an event, making it public so that other servers can use it.
Use the command followed by the event ID you want to share.
| Parameter | Type | Description | Required | Choices |
|---|---|---|---|---|
| event | String | The ID of the event to share. | Yes | N/A |
/event share event:abc123- Shares the event with the ID “abc123”.
- Users need the “Manage Server” permission to use this command.
/event unshare
Section titled “/event unshare”This command allows users to unshare an event, making it private so that only the current server can use it.
Use the command followed by the event ID you want to unshare.
| Parameter | Type | Description | Required | Choices |
|---|---|---|---|---|
| event | String | The ID of the event to unshare. | Yes | N/A |
/event unshare event:abc123- Unshares the event with the ID “abc123”.
- Users need the “Manage Server” permission to use this command.
/event import
Section titled “/event import”This command allows users to import a shared event from another server into their own server.
Use the command followed by the event ID you want to import.
| Parameter | Type | Description | Required | Choices |
|---|---|---|---|---|
| event | String | The ID of the event to import. | Yes | N/A |
/event import event:abc123- Imports the shared event with the ID “abc123”.
- Users need the “Manage Server” permission to use this command.