Discord bot for timetable information based on the TDSB 2020 quadmester model
Install the discord
module using pip, run bot.py
using python3 with the data.json
in the working directory
$list
- list all joinable courses
$join [code]
- add a course to your schedule
$leave [code]
- remove a course from your schedule
$courses
- view your courses
$schedule
- view your schedule for today
$schedule [YYYY/MM/DD]
- view your schedule on a specific day
$week
- view your schedule for the current week
$week [user_mention]
- view anyone's schedule for the current week
$getevents [code]
- view assignment board for course
$addevent [code] [yyyy/mm/dd] [event_name]
- add assignment to board
$delevent [code] [yyyy/mm/dd] [event_name]
- remove event from board
addcourse [code] [quad] [teacher] [day]
- create a joinable course
Day argument should be 4 letters long with o
representing online afternoon class, i
representing independent learning, s
representing in school. Ex. oois
is day 1 and 2 online, day 3 independent, and day 4 in school.
delcourse [code]
- delete a course