Inspiration

We took the inspiration of this project from game stats viewer websites and Discord bots where people get to view their gaming information from inputting commands for Discord bots. We took both ideas and combined the two which allows this bot to be very useful in league of legends communities on discord (as the community is pretty toxic).

Tracks: Mental health, AI

What it does

The discord recognizes a list of commands where users can view champion and game statistics. This covers a wide range of topics which users may be discussing about in a typical gaming server. In addition to displaying data, RiotBot helps maintain a healthy environment by using AI (tensorflow) to identify and delete toxic posts from users.

How we built it

The bot is written in Javascript using DiscordJs for registering the commands and performing its actions. The toxicity detection feature used a third party api called TensorflowJs which is an AI library that helps detect whether a set of text is toxic.

Challenges we ran into

As this was our first time making a discord bot, we ran into many challenges. Since the running code is directly associated with the bot that is online, two people running the code simultaneously on different devices resulted in weird outputs from the input.

Accomplishments that we're proud of

Generally, we are proud of making a bot which can help out with a variety of tasks as a complete beginner. The feature to showcase data while helping moderate the channel all packed into one bot seems like a decent accomplishment.

What we learned

We learned how to create a discord bot using DiscordJs and TensorflowJs.

Built With

Share this project:

Updates