Skip to content

Latest commit

 

History

History
26 lines (19 loc) · 1.07 KB

clearoverdue.md

File metadata and controls

26 lines (19 loc) · 1.07 KB

About $clearoverdue

Clears overdue reminders from the database.

Changes

This command was introduced by CSC510-Group-25.

Location of Code

The code that implements the above mentioned functionality is located in cogs/deadline.py.

Code Description

Functions

clearoverdue(self, ctx):
This function takes as arguments the values provided by the constructor through self and context in which the command was called and deletes any past due reminders from the database

How to run it? (Small Example)

You are in the server that has the Classmate Bot active and online. You go to the #reminders channel, enter the command $clearoverdue.

$clearoverdue

Successful execution of this command will remove overdue reminders from the database and give a success message.

Screen Shot 2021-12-04 at 10 02 42 AM