!badges help- usage instructions!badges #- replies with the optimal badge configuration based on the player having # common (grey) badges
- Click here to add this bot to your Discord.
- Add the Badges Bot to any channel you would like
- Badges Bot also responds to DMs
Ok, see... originally I wrote a small program in C# to generate a CSV which would allow you to lookup your optimal badge configuration. I'm lazy AF though, and didn't want to have to go scroll to the right row in the spreadsheet. (Don't judge!) I also wanted to learn how to write a Discord bot, so here we are.
Since I already had the CSV generated, I figured there was no point in running the calculations on the fly, so the bot reads in the csv when it starts & just looks up the answer. It does dynamically figure out how many badges until the next upgrade. I suppose I could have included that in the CSV too and saved some compute cycles. Oh well... what's done is done.
You are free to do whatever you want with it. You can even use it as a basis for writing your own bot. All you need to do is clone this repo, set your own Discord bot token in config.json and host it somewhere. If you don't even know what any of that means, I found this video series helpful to get started.
