ProBotE is a Discord bot to automate actions linked to Pronote and Google Drive used on my classrooms' Discord server to automate manual tasks such as transfering files from Pronote to Google Drive and gathering homeworks.
- pronotepy by @bain3 and @Xiloe
- discord.py
- PyDrive
- Install python3 and pip3
- Clone that repo
- Install dependencies (pip3 install discord pronotepy pydrive)
- Edit credentials.py.sample with your own values and rename it credential.py
- Download your API key in .json, and copy it there under the name "client_secrets.json"
- Create a blank file named 'driveAuth.cred'
- Start that bot with python3 probote.py
You can contribute by submitting pull requests, or opening an issue to describe the feature you want to add.
-
Google drive sync :
- Upload files from Pronote (in adapted folder)
- Upload files from ENT (in adapted folder)
- Upload files from Discord (in adapted folder)
- Create evaluations that can be uploaded and then gathered by teacher
- Files list
- File deletion
- Folders list
- Subfolder creation
- File uploading in subfolders deeper in the tree (actual : 2 levels)
-
Pronote :
- Lessons content
- Messages (only broadcast messages)
- Auto sync (every x minutes or when a new homework is published)
-
Misc :
- Version number in help command
Alexis LEBEL (@Alestrio0)