Inspiration

The inspiration behind the Inspire Bot is that I saw people have bad days before and they weren't happy and always felt discouraged. So with the simple Inspire Bot, I created within this 24-hour Simplihacks hackathon. I always wanted people to be left with a happy and encouraging message when the bot would talk to them.

What it does

I formed the bot to make encouraging messages when keywords, like "depressed", "sad", or "angry" were typed in the message. Adding to the encouraging message that the bot sends when the keywords are detected, the bot can also output a random inspirational quote from a public library. This inspirational quote is designed to inspire others and further their positivity.

How we built it

I built the bot using a simple repl.it and using python to code the bot. I imported discord, JSON, and os to use the public library and documentation. For each message that the user types in the discord, it is written using an if statement and functions to contain each type of encouraging message statement separately.

Challenges we ran into

Some challenges I ran into were finding ways to connect the bot to discord and getting the bot client to work. Another challenge that I had to overcome was finding a way to keep running the bot so I don't have to keep pressing the run button in repl to keep the bot active.

Accomplishments that we're proud of

I'm very astounded by the accomplishment of the bot and was surprised to see a program code language, like Python, can create a discord bot that can respond to certain parts of your message. I didn't expect it to work and was surprised to see the outcome. Even though I had to jump many hurdles to get the outcome I wanted, it was an overall success.

What we learned

I learned many numerous things from this hackathon from learning different coding languages that I would have never thought I wanted to try coding in from the workshops. It was a fun and exciting hackathon as this was the first hackathon that I was in. Overall, it was a fun time coding with other programmers and watching everyone trying to solve a certain problem.

What's next for Inspire Bot

The next thing for Inspire Bot is expanding its usage and could potentially up its game. I could add more details and a higher level of technology so it can text like a human. This would be used as a discord bot therapy session where the bot has enough information about what the user sends and can reply back with information on how to cope with issues, like stress. It could encourage and inspire users who may be feeling disappointed throughout their day.

Built With

Share this project:

Updates