Inspiration

I wanted to try something I have never done before, this is my first time coding a discord bot, and I wanted an original one, I like motivational quotes so I did a discord bot about it :)

What it does

Every time you type !random it gives you a different motivational phrase. Also if you type "hello" the bot greets you.

How we built it

I used python, since it was my first time I had to watch some tutorials to get familiar with the process, i also got inspired by the code from the replit link that was in the challenges page

Challenges we ran into

When using random.choice() to get different phrases everytime a person types "!random", I got this error where the phrase would always be the same, later I found out that the problem was that I was assigning the result to a variable, so the program was saving and printing that particular result, and wasn't able to give a different response everytime the person types !random.

Accomplishments that we're proud of

  • Building a discord bot.
  • Trying and learning something new.
  • Successful result.

What we learned

  • Discord.py module
  • Random module in python

What's next for Motivational discord bot

More phrases! and maybe more interactions.

Built With

Share this project:

Updates