Use GitHub Actions to send reminders to a Discord channel
- Click 'Use this template'
- Set up config.json
- Create the
DISCORD_BOT_TOKEN
secret in the GitHub repository settings - Enable GitHub Actions on the new repository
If you haven't already, create an application in the Discord developer portal, then create a bot user in the bot tab. You can copy the token from there.
You will also probably need to add the bot to the Discord server and give it message posting permissions.
channelId
: Channel id for the channel you wish the bot to post in. If you need to find it, follow the Discord documentation.
events
: Array of event objects. Each event object should have a date as a string in ISO-8601 format (YYYY-MM-DD
), and a message to send on that day. Maximum one event per day.