discord-drawbot
Made by drawbu
A Pronote notifier discord bot.
Help server: https://discord.gg/XGXydQyKhQ
Don't try with a wrong username or password too many time, or you can get banned from Pronote | |
---|---|
We do not take responsibility for a possible leak of your passwords, which is why you need to host the bot yourself. |
Installation
git clone https://github.com/drawbu/drawbot
cd drawbot
pip install -e .
Launch
py drawbot
If you are using a Linux distribution or macOS, you can use the make
command to install dependencies and run the bot.
Files documentation
The bot will create 3 json files in the vars folder:
- devoirs.json
- grades.json
vars/config.json
This file stocks your private logins and info's to make to bot running. You can find a config.example.json file in the vars folder.
config.json
Example
{
token: "( ͡° ͜ʖ ͡°)",
prefix: "!",
channelID: "000000000000000000",
username: "demonstration",
password: "pronotevs",
url: "https://demo.index-education.net/pronote/eleve.html?login=true",
}
copy that file as config.json and fill in the values as follows:
"token"
: your bot token."prefix"
: the prefix your bot will use."channelID"
: the ID of the Discord channel."username"
: your Pronote username."password"
: your Pronote password."url"
: the url of your pronote client.
If you can't connect to Pronote, check if your establishment is not using an ENT. In this case, see what you need to do with the help of the pronote wrapper project: pronotepy
Files vars/devoirs.json
and vars/grades.json
are here to stock what's has
been already sent, so you don't need to care about them