Hi everyone!
I am looking for feedback on a Discord Bot I developed. I used Firebase to store all the information. The bot includes basic functionalities such as:
-
An info command, which returns information about a user.
-
A ban command, which bans players from the game a certain amount of time.
Here’s an example of a ban log posted to a channel once the command is run:

This is what it would look like if someone with the userID “1” had multiple ban records assigned to them:
This automatically removes the player from the database when the ban time is up. Roblox game pulls bans every 10 seconds to ensure the game is up to date. Once the player is removed, data is stored in a separate “pastBans” section of the database, which Is what makes the previous bans section of the info command work.
- An unban command, which unbans the user from the game.
This just simply removes the player’s name from the database. For example, if a ban appeal was accepted, this command would be utilized.
-
A kick command, which kicks a user from the game.
-
A warn command, which issues a warning to a player.
Warnings are stored in a database and are easily accessible using the info command.
I may make an open source version of this code, but I’m not sure it would be popular. Let me know what you all think!
Keep in mind, this bot is still in the early stages and I am still working making it better.


