Skip to content

Discord bot with Advent Of Code integration. Displays scores and time deltas for your local leaderboards πŸŽ„β„οΈπŸŽ…

Notifications You must be signed in to change notification settings

dustin-ward/AdventOfCodeDiscord

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

41 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

β­β­πŸŽ„ Advent Of Code Discord Bot πŸŽ„β­β­

A discord bot written in Go to provide leaderboards and nightly notifications to your server!

Usage

General

/leaderboard - Show the current state of the leaderboard

Admin

/configure <channelId> <roleId> <leaderboardId> <sessionToken> - Configure the bot to work on your server. Provide the desired channel id, role id to ping, the id of your AoC leaderboard and a valid session token of one member that has access to the private leaderboard

/start-notifications - Subscribe to nightly notifications

/stop-notifications - Unsubscribe from nightly notifications

/check-notifications - Check your servers current notification status

Deployment

Tip: you can use the DATA_DIR environment variable to specify a custom storage location. Default is the current dir.

Using Golang

Ensure you have go installed and run the bot by doing:

AOC_BOT_TOKEN="[Your token here]" go run main.go

Using Docker

Ensure you have docker installed and create a volume:

docker volume create discord-aoc-bot

then run the bot by doing:

docker run -v discord-aoc-bot:/app/ --rm -e AOC_BOT_TOKEN="[Your token here]" ghcr.io/dustin-ward/advent-of-code-discord:latest

Using kubernetes

A template file is provided in this repository. Complete it then run:

kubectl apply -f ./aoc-discord-bot.yml

About

Discord bot with Advent Of Code integration. Displays scores and time deltas for your local leaderboards πŸŽ„β„οΈπŸŽ…

Topics

Resources

Stars

Watchers

Forks

Packages

 
 
 

Languages