DEV Community

Kavin Desi Valli
Kavin Desi Valli

Posted on • Originally published at livecode247.com on

Discord bot which shows your private Advent of Code leaderboard

It is December! That means Advent of Code is here! If you don't know what that is:

Advent of Code is an Advent calendar of small programming puzzles for a variety of skill sets and skill levels that can be solved in any programming language you like. People use them as interview prep, company training, university coursework, practice problems, a speed contest, or to challenge each other.

Idea Inspiration

Now, Advent of Code has two kinds of leaderboards. One is the Global Leaderboard where you're competing against the whole world and the other is Private Leaderboards. You can create Private Leaderboards for your class, your club, or a group of friends!

I am a part of a couple of Private Leaderboards and since all of us were on a discord server, I thought why not create a Discord Bot which shows the leaderboard right on the app? And so, I created this discord bot.

Setup

The bot is very easy to set up and get up and running on your server. Follow the instructions on the GitHub README and you will be up and running in no time.

Deployment

To deploy the app on an EC2, GCP Instance, etc. use pm2 like mentioned here.

GitHub

https://github.com/kavinvalli/aoc-private-lb-discord-bot

Check out the GitHub Repository linked above and you will find all the instructions on how to get up and running with the bot.

Feel free to also point out any issues, any PRs are welcome and be sure to star the repo!

Top comments (0)