/eventscalendar¶
Tip
This command requires the administrator
permission by default.
To learn how to change this, please check the faq command.
/eventscalendar enable¶
Enables the events calendar feature and configures a channel for them to be posted in.
When you create an event in your server through Discord's events feature, the link to the event will be posted in your server.
- If your server has a vanity invite URL, the vanity invite will be used.
- If your server has a permanent invite URL for the Events Calendar channel, that permanent invite will be used.
- If your server doesn't have either of these, a temporary invite will be made which expires after your event ends.
A temporary role is also created which users can assign to themselves by clicking the Interested
button.
When an event starts this role will be pinged, when the event ends or is cancelled, the role will be deleted from your server, along with the event's link.
Example
If your server uses the Affiliate Events feature, your event will also get forwarded to your affiliated servers if you have configured it to do so.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
channel |
TextChannel
|
The channel all of your events should be posted in. |
required |
notification_channel |
TextChannel
|
The channel event pings should be posted in. |
required |
/eventscalendar disable¶
/eventscalendar sync¶
Synchronises your event calendar with the events you've created in Discord.
Note
Normally you shouldn't have to use this, but in rare cases where the calendar doesn't match the events you've configured you can use this command to re-synchronize them.
This will also make sure everyone who clicked Interested
and didn't get their role (or role removed when unclicked) will be updated accordingly.
When the bot restarts this will automatically run in your server so you won't have to run it after a restart!