As a group, we had previous experiences with Discord servers. One of the most relevant problems that occurred while we were administrating servers is managing chat. Especially in more professional discord groups, chat can get incredibly off topic, so this bot was created with this problem specifically in mind.
What it does
The bot removes words and phrases that administrators deem inappropriate. It then prevents other users from sending messages with those words or phrases within them.
How we built it
In order to build the bot, we developed a basic discord bot framework using the JDA libraries and the .pom files that are accessible online. Afterwards, using the JDA libraries, we expanded on the framework by making commands that ran when the user inputted certain things in the Discord interface.
Challenges we ran into
One of the challenges that we ran into was getting the command working only for people with administrative powers, however, through the assistance of someone on another team, we were able to develop code that allowed for it to happen.
Accomplishments that we're proud of
Honestly, as a team, we were proud of being able to build a bot in the first place. This is true as going into the hackathon, we had little to no experience with eclipse, coding discord bots and github. However, over the numerous hours within the hackathon, we were able to figure everything out.
What we learned
As a team, we've learned how to code a discord bot in java, use github and eclipse, and work together as a team to achieve a common goal under a short period of time.
What's next for Discord Censoring Bot
- Adding counters to track how many times each member has attempted to use a banned word after being warned.
- Kicking/Banning/Restricting Chat of those members after they've done so.
- Make the system more user friendly, allow for the banning of words without previous input.