- Category
- New Feature
- Published on
Discord Event Cover Images
- Authors
- Name
- Gordon Smith
Chronicle Bot now supports assigning cover images to your Discord Events from Google Calendar by adding an image URL to your event description. If you are using one-off images for your events it may still makes sense to assign these within Discord, but for reoccurring events this new feature should save you a lot of time.
Assigning a Cover Image
To assign a cover image to your Discord Event you must add a special section of text (called a front matter) to the beginning of your event description. The bot uses this special section to customize how an event is handled. In this case you provide a cover image URL and the bot retrieves that image and passes it to Discord for your event.
A quick example of the format can be found below, but for full details and the requirements please check the docs.
+++
cover="https://your_link_goes_here/image.jpg"
+++
Your normal event description can go here...
Why not use an attachment in Google Calendar?
I tried, I swear I did.
I sank days into accessing an image attached to an event. Unfortunately, Google Calendar stores it's attachments within Google Drive and does not provide special access for those using the calendar API. In order for the bot to access these attachments we would have to ask for read-only permissions to every file in your Google Drive, and that is something we are not comfortable doing. The solution we came up with was the next best alternative.
We hope you enjoy this new feature and as always, if you have any questions or feedback feel free to reach out to us on Discord, Mastodon, or Twitter.