-
Notifications
You must be signed in to change notification settings - Fork 21
Reminder Commands
Jace Manshadi edited this page Sep 15, 2024
·
4 revisions
as the name suggests, this command allows users to store reminders for themselves in the wall_e database. To do this it has 4 parts:
-
remindmein: the command that parses a reminder prompt and attempts to save it in the database. -
showreminders: the command that allows users to see all their current reminders [aka reminders whose deadline has not come yet] -
deletereminder: command that users can use to delete a reminder they have set. -
get_reminders_channel: a function that is run when the bot connect to the discord gateway that takes care of getting the channel where all reminders will be sent on. -
get_messages: the background task that runs every 2 seconds to see if there are any reminders whose time has come to be sent to the reminder channel and be subsequently deleted from the database.