Giter VIP home page Giter VIP logo

drawbot's Introduction

discord-drawbot version 2.0

Made by drawbu

Codacy Badge GitHub GitHub code size in bytes GitHub repo size Lines of code GitHub last commit GitHub commit activity

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 /path

pip install -r requirements.txt

Launch

py run.py

Files documentation

The bot will create 2 json files in the app folder:

  • config.json
  • devoirs.json

app/ config.json

This file stocks your private logins and info's to make to bor running:

{
    "token": "( ͡° ͜ʖ ͡°)",
    "prefix": "!",
    "channelID": "000000000000000000",
    "username": "demonstration",
    "password": "pronotevs",
    "url": "https://demo.index-education.net/pronote/eleve.html?login=true"
}

THESE ARE JUST EXAMPLES

In "token", you need to add your bot token.
In "prefix", the prefix your bot will use.
In "channelID", the ID of the Discord channel.
In "username", your Pronote username.
In "password", your Pronote password.
In "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

app/ devoirs.json

Automatically generated JSON containing homeworks information.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.