Skip to content

Discord bot for timetable information based on the TDSB 2020 quadmester model

License

Notifications You must be signed in to change notification settings

aamri2/schedule-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

schedule-bot

Discord bot for timetable information based on the TDSB 2020 quadmester model

Instructions

Install the discord module using pip, run bot.py using python3 with the data.json in the working directory

Usage

$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

Admin Commands

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

About

Discord bot for timetable information based on the TDSB 2020 quadmester model

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages