Releases: drawbu/drawbot
Releases · drawbu/drawbot
2.1.0
What's Changed
- 📝 Update README.md
- ✨ new command: homeworks: show incoming homeworks
- ⚡ Improving json_wr()
- ⚡ Exiting script if a key isn't registered in config.json
- 🎨 All configuration now in config.json
- 🎨 Improved structure / format of the code
Full Changelog: 1.0...2.1.0
About A Pronote notifier discord bot.
A Pronote notifier discord bot.
Don't try with a wrong username or password too many time, or you can get banned from Pronote | |
---|---|
At the first launch, it might send a lot of messages | |
We do not take responsibility for a possible leak of your passwords, which is why you must host the bot yourself |
Installation
git clone https://github.com/drawbu/drawbot
cd /path
pip install -r requirements.txt
Launch
py run.py
Files documentation
On first start, the bot will create 3 json files in the app folder:
- config.json
- devoirs.json
- pronote.json
app/ config.json
This file stocks your bot's token and prefix like this:
{
"token": "( ͡° ͜ʖ ͡°)", // bot token
"prefix": "!" // bot prefix
}
In token
, you need to add your bot's token.
In prefix
, the prefix your bot's will use without and restart.
app/ pronote.json
You pronote credentials.
{
"username": null, // Pronote username
"password": null, // Pronote password
"channelID": null, // Channel to send homeworks
"url": null // School pronote url
}
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 in the pronote's wrapper project: https://github.com/bain3/pronotepy
app/ devoirs.json
Automatically generated JSON containing homeworks information.