Skip to content

Latest commit

 

History

History
20 lines (16 loc) · 990 Bytes

getiCalDownload.md

File metadata and controls

20 lines (16 loc) · 990 Bytes

About $getiCalDownload (Modified Command in Project 2)

This command lets students download an .ics file so that they can import the class calendar into their calendar software of choice.

Location of Code

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

Code Description

Functions

getiCalDownload(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 the instructor has been updating the calendar with events. All you have to do is enter the command 'getiCalDownload': and the bot will return a file that the student can download

$getiCalDownload

Successful execution of this command will result in an .ics file being sent in the same channel

image