For all your Breadening purposes! The official discord bot of The Breadening server!
This bot is made with TypeScript, it uses the GitHub API, SQLite3, and ofcourse discord.js. I made this bot originally to keep track of infections, but can also do some other cool stuff.
Firstly, join the server with this link. Then, go to #bot-commands to try the commands out! Make sure to register the bot itself as an infector to not mess with the infection counts of actual users :).
If the bot is not responding, it may be because it is restarting, that happens every hour at roughly xx:40. It will be down for a few minutes, but it will be back up in no time!
Bread is very cool.
The server where the bot lives is the hub for the breadening infection. It works like this: Someone has their status as "DM me the word bread". When another someone is foolish enough to DM them the word bread, they are "infected" and required to also change their status to "DM me the word bread". We decided to make a discord server for that, so everyone in it can chat with each other, hang out and also see who infected the most people!
The bot supports 9 slashcommands, listed here:
Gives stats about the Breadener bot using the GitHub API with the Octokit library.
Shows all the levels of breadening, including some other data, like the thresholds for every breadener level.
Removes the users infection entry from the database, so they can register again. Intended to be used after making a mistake with registering.
Returns the amount of people user has infected, alongside some other data. It also assigns / updates a certain role to user based on how many they have infected.
Gives a compact recipe of the requested bread type. Includes ingredient requirements, instructions, as well as a link to the original recipe as source.
Lists all the non-slash commands.
Adds an entry to the infections database with the user id of infector and the infected_id. It can be used only by moderators for when someone infects someone else but doesn't join the server, so the infector can still be credited for the infection. It also turned out to be of great use during testing and debugging.
Adds an entry to the infection databse with the user id of infector and the user id of the user as infected_id. This command is the core of the Breadener bot, as a lot of other commands depend on it.
The Breadener bot also supports some non-slash commands.
Lists all the non-slash commands.
Replies with Pong!, as well as the actual ping of the user.
Replies with Yes sir!. It is supposed to be a fun little way of checking whether the bot is up.