Hi there, PM here. This is your reminder that the right to disconnect is now law.
Because if you're not being paid 24 hours a day, you shouldn't be on call 24 hours a day either.
Self hostable discord bot that reminds members of a guild about the right to disconnect under Australian law.
- Automated alerts at 5:30PM AEST weekdays that reminds members about the right to disconnect.
- Automatically handles timezone conversions for different timezones within Australia
- Handles public holidays for different states and doesn't post notifications for country-wide & state-wide holidays that fall on weekdays
- Slash commands that ping specific members with
- A reminder about the right to disconnect
- Check in to see if they have disconnected for the day
- Randomised attachment of specific clips of Albo mentioning the right to disconnect
- Support for logging to a Grafana Loki endpoint
Parameter requirements (see example.appsettings.json)
- Discord Bot Token [Required]
- Discord Channel Id for the reminder alerts to be sent to [Required]
- TimezoneId (IANA) -Australia/Sydney as an example [Required]
- EnableCaching - Caching of the response returned from Nager API via HybridCache (in memory only) [Required]
- EnableRemoteLogging - Toggles logging to a remote Grafana Loki endpoint (Optional)
- LokiUrl (Optional if EnableRemoteLogging disabled)
- LokiUsername (Optional if EnableRemoteLogging disabled)
- LokiApiToken (Optional if EnableRemoteLogging disabled)
- Run
dotnet restoreto pull dependencies - Run
dotnet buildto compile project dotnet runto run
docker build -t albov2:latest .
- Sample Run
docker run \
-e DISCORD_BOT_TOKEN="" \
-e DISCORD_REMINDER_CHANNELID="" \
-e TimezoneId="Australia/Sydney" \
-e EnableCaching="true" \
-e EnableRemoteLogging="true" \
-e LokiUrl="" \
-e LokiUsername="" \
-e LokiApiToken="" \
--name albov2-bot \
albov2
- Can also pull the latest image directly via
ghcr.io/peekaey/albov2:latest
Made with Netcord & Nager
