Google Classroom Discord.py Bot

(Working in progress)

Current progress:

  • function to retrieve to-do assignments
  • bot command to send the assignment list
  • improvements on the speed of the assignments command
  • bot command to get the timetable

Commands:

( Bot prefix: $ )

test

The bot will reply with ‘test’.
For testing purposes.

assignments

Get assignment lists
Takes around 1 minute to run

Set-up

  • requires: Google API OAuth2 Token (stored as ./credentials.json)
  • discord bot (token stored in ./secrets.json)

// secrets.json
{"token":"yourTokenHere"}

To get google api credentials:

  1. Visit Google Cloud Platform and sign in using your personal account (not your school account)