Hey everyone! I’m trying to set up a Discord bot for my college’s Student Hub server. The bot should send reminders about upcoming assignments in a specific channel. I want it to alert members a few days before each due date.
I know the course hasn’t started yet, but I’m eager to get a head start on this project. Has anyone done something similar before? I’m wondering about the best way to structure the bot and what features to include.
Some questions I have:
How can I input assignment dates easily?
What’s the best way to handle different courses?
Should I use a database to store assignment info?
Any tips or advice would be super helpful! Thanks in advance!
I’ve actually implemented a similar bot for my study group, and it’s been a game-changer for us. Here’s what worked well:
For inputting dates, we created a simple command structure where users could type something like ‘!addassignment CS101 Project1 2023-12-15’. This made it easy for anyone to add new assignments.
Handling different courses was tricky at first, but we ended up using course codes as tags. Users could then filter reminders by course if they wanted.
As for storage, we started with a simple JSON file, but quickly outgrew it. Switching to a SQLite database made things much smoother, especially for querying upcoming assignments.
One feature that proved unexpectedly useful was allowing users to mark assignments as completed. This helped everyone keep track of their progress and reduced anxiety around due dates.
Hope this helps! Let me know if you want more details on any part of the implementation.
Having developed a similar bot for my department, I can offer some insights. We found that using a Google Sheets integration for inputting assignment dates was incredibly efficient. It allowed faculty to easily update due dates, which the bot then fetched periodically.
For managing multiple courses, we implemented a role-based system. Students could assign themselves course roles, and the bot would tailor reminders accordingly.
Regarding storage, we opted for a MongoDB database. Its flexibility proved invaluable as our needs evolved over time.
One feature that students particularly appreciated was the ability to set personal reminders on top of the standard ones. This customization helped cater to different study habits.
Remember to thoroughly test your bot before deployment. We encountered some timezone issues initially that caused confusion with due dates.
hey, i made a bot like that for my gaming clan. we used discord.py and sqlite3. it was pretty ez to set up. for inputting dates, we just used a command like !setdue [course] [assignment] [date]. worked great. for different courses, we made separate channels. the bot would post reminders in the right channel. def use a database. makes life way easier when u need to update stuff.