Inspiration

When looking for an apartment together my roommates and I used discord to write down everything from general talk to important details and deadlines. Often times I would forget about a deadline or waste my time scrolling through the chat to find important details. So I thought a good solution to this problem would to have a robot organize the chat chronologically for me.

What it does

My discord bot looks for key words such as month and time and converts it into a number. That number is then compared to another number which is based off of present date and time and depending on how far away the original number is from the present number determines what channel on discord a message is placed on.

How I built it

I used python and the discord add-on. I also stored most of the key words in plain text files.

Challenges I ran into

At first I wanted to have the bot also create the channels when first installed however the bot alone is unable to create a text-channel. Rather the user needs to create a text channel and based off of the users role will determine if the bot creates the channel.

Also, I was wondering on how to store data(keywords). At first I wanted to store the keywords in a .JSON file but eventually settled with plain text file because it seemed more simple to implement.

Accomplishments that I'm proud of

This is my first time making a discord bot and even a discord server so I am very proud that I was able to do that.

What I learned

I've learned a lot about implementation of robots on discord and how machines interpret human language.

What's next for Discord Priority Bot

Eventually I hope to fix any bugs with the current scaling system and make the recognition more complex so that synonym occurrences like: "May I go to school" and "I am going to the dorms in May" aren't confused with one another.

Built With

Share this project:

Updates