Skip to content

Latest commit

 

History

History
22 lines (18 loc) · 1.27 KB

change_reminder_due_date.md

File metadata and controls

22 lines (18 loc) · 1.27 KB

About $changeduedate

This command lets the user update the homework due date for specific course and homework.

Location of Code

The code that implements the above mentioned gits functionality is located here.

Code Description

Functions

changeduedate(self, ctx, classid: str, hwid: str, *, date: str):
This function takes as arguments the values provided by the constructor through self, context in which the command was called, name of the course, name of the homework, and the updated date and time.

How to run it? (Small Example)

Let's say that you are in the server that has the Classmate Bot active and online. All you have to do is enter the command '$changeduedate' and pass in all the parameters as a space seperated inputs in the following order: coursename, homeworkname, updated duedate (in MMM DD YYYY optional(HH:MM) format)

$changeduedate CLASSNAME HW_NAME MMM DD YYYY optional(HH:MM)
$changeduedate CSC510 HW2 SEP 25 2024 17:02

Successful execution of this command will update the reminder for the specified coursework and homework on the specified time.

$changeduedate CSC510 HW2 SEP 25 2024 17:02