Skip to content

Latest commit

 

History

History
20 lines (16 loc) · 949 Bytes

clearCalendar.md

File metadata and controls

20 lines (16 loc) · 949 Bytes

About $getiCalDownload (Modified Command in Project 2)

This command lets the instructor clear all events from the google calendar.

Location of Code

The code that implements the above mentioned gets functionality is located here

Code Description

Functions

clearCalendar(self, ctx)::
This function takes as arguments the values provided by the constructor through self, and the context in which the command was called.

How to run it? (Small Example)

Let's say that you are in the server that has the Classmate Bot active and online, and you are the instructor. All you have to do is enter the command 'clearCalendar': in the instructor commands channel and the bot will let you know the success or failure of your command

$clearCalendar

Successful execution of this command will result in the google calendar being cleared

image