Inspiration
I got the idea for this project when I accidently 'butt-typed' a random message on a server for which I had to apologize to everyone
What it does
This project warns users by pinging them with a welcome message just when they start typing. As an added functionality it also keeps a track of the number of messages the user types and if it exceeds a certain threshold it sends a warning
How we built it
I built it using python on replit with the help of a few YouTube videos and the documentation
Challenges we ran into
The first challenge was getting the date and storing it. There was always some error between local time and GMT time while doing so. The next problem faced was that the bot allows the users to message again after the change of day, implementing that too was a bit of a difficulty
Accomplishments that we're proud of
Building the bot from scratch and the thought that it works is the greatest accomplishment from me
What we learned
I learnt how to make a discord bot and program it to understand and behave according to the various conditions
What's next for TheWarner
A full blown moderation bot may be great, like we could implement a string catcher which will delete the message if a user uses a certain string got words not allowed on a certain server
==Note: The bot will originally run on my server, if you want to check it out, you could enter my server or clone the code and run it on your server==
Built With
- discord
- python
Log in or sign up for Devpost to join the conversation.