Inspiration
We wanted to create a server bot that helps to create a positive online community by preventing cyberbullying and adding fun features into discord.
What it does
The bot searches the discord chat for specific words or phrases. When it finds these words or phrases it triggers events in the chat. for example if you post hello the bot will type hello back or if someone chats the word "stupid" the bot will delete the message and post a friendly quaker inspired message in its place.
How we built it
We used the discord developer portal to generate a discord token for our bot and then hosted the bot using repl.it. Once we where able to integrate the bot we began to play around with the syntax and through trial and error(mostly error), and lots of online libraries/articles we where able to get a handle on basic bot programming.
Challenges we ran into
Our biggest challenge was the fact that we both came into the project with next to no knowledge on bot programming and had to teach ourselves from the ground up.
Accomplishments that we're proud of
We coded using a variety of commands that we had never used before and integrated much of what we learned in class from loops to the .lower function.
What we learned
We learned the importance of saving and testing CONSTANTLY. We often found that 1 small error would give us a page of error messages and that hastily writing code will just cause you more grief in the long run.
What's next for Quakerism Discord Bot
We hope to test our bot on a larger server and to see how it handles with a massive amount of input in multiple text channels.
Built With
- discord
- python
- repl.it
Log in or sign up for Devpost to join the conversation.