- Category
- New Feature
- Published on
Discord Event Customization Using Front Matter
- Authors
- Name
- Gordon Smith
Last month we added a new method to customize your Discord events using front matter, but it slipped under the radar. Well, today's update will rectify that with a few examples.
Please note that this might not be for everyone, but if you want to tweak your events further, this opens up many options.
Event Front Matter
Chronicle Bot depends on external calendars like Google Calendar, but this does limit us as we can't add new UI options when you add or edit events.
To get around this limitation, we added the ability to include Front Matter in your event descriptions. The bot reads this front matter section and removes it from the description so your Discord server members won't see it.
By adding front matter to your descriptions, you can:
- Add images and thumbnails to your reminders
- Add cover images to your Discord events
- Customize reminder and summary links
- Mention specific roles for an event reminder
- Tag events for filtering
How Does It Work?
Take a quick look at the video above for some examples, but simply put, you are adding a little extra text to the beginning or end of your event description. We support a variety of front matter keys and will be adding more in the future.
The basic format is demonstrated below. The +++
lines signal the bot that your front matter keys are contained between these two lines. Inside, you can add as many keys as you need to customize how your event is handled in Discord.
+++
key = "value"
+++
Notifier Front Matter
We are also announcing Notifier Front Matter which can be used to apply front matter items to all your events. This can be useful, for example, if you want to apply a thumbnail image to all of your event reminders without having to add it to each event's description.
If you have a one-off event you want to display differently, event front matter keys can also be added, which will overwrite those items in the notifier.
We hope you enjoy these updates and as always, if you have any questions or feedback feel free to reach out to us on Discord, Mastodon, or Twitter.