Inspiration

Easy access for people

What it does

Enter in your symptoms and it tells you what issues you may have

How we built it

We made a discord bot that was written in python using the pycord module. It handles all events asynchronously through an event loop. Upon startup, it reads and loads a database that is stored in JSON and provided through the program's input arguments. Then, the bot starts the event loop and listens for message events from users.

When receiving a message, the bot determines the command and the arguments to provide to the command by parsing the string and splitting it by spaces. The available commands are help, info, and diagnose.

The info command takes in the name of a disease and outputs its symptoms and possible treatments. The help command explains what commands the user can run and gives them some information about the bot.

The diagnose command is the main command. It takes in a variable amount of symptoms and finds the best 5 possible diseases that the user might have.

Challenges we ran into

We had a hard time in the beginning, figuring out what to do and how to write the code. We eventually worked it out and are very proud of the discord bot that we created.

What's next for MedBot Premium

We plan on adding more to the database so that it's a bit more accurate and there are more diseases for the bot to search through.

Built With

Share this project:

Updates