A new cog" reminders should be added which will contain the commands for reminding users of anything. The command syntax should look like this:
!remindme [duration] [remind note], where duration will specify when the reminder will go off and the remind note is what you will be reminded of.
There can also be a possibility to set whether you want to be reminded in the server by mention or using DM.
This will require a database since if the bot will get restarted, all of the timers will reset, this means every reminder should be saved into the database table from which they will be removed when executed (sent) - similarly to infractions.
There should also be a check whether the user which wanted to be reminded is still on the server, in case he isn't, remove it (there is no point in reminding someone who isn't there to see it).
Proposed reminders can look something like this:
when in DM, or with included user mention when on server
A new cog"
reminders
should be added which will contain the commands for reminding users of anything. The command syntax should look like this:!remindme [duration] [remind note]
, whereduration
will specify when the reminder will go off and theremind note
is what you will be reminded of.There can also be a possibility to set whether you want to be reminded in the server by mention or using DM.
This will require a database since if the bot will get restarted, all of the timers will reset, this means every reminder should be saved into the database table from which they will be removed when executed (sent) - similarly to infractions. There should also be a check whether the user which wanted to be reminded is still on the server, in case he isn't, remove it (there is no point in reminding someone who isn't there to see it).
Proposed reminders can look something like this: when in DM, or with included user mention when on server