/Paper_Bot_V2

Telegram bot { providing papers to students }

Primary LanguagePython

Paper Class Helper ( Version 2.0 )

Push to Docker Hub - BOT

PIP Dependancy Libraries

pip install <...>

  • python-telegram-bot
  • requests
  • python-dotenv
  • firebase-admin

Create Virtual Environment

  • python -m venv myenv

Activate the virtual Environment

  • myenv\Scripts\activate

Deactivate the virtual Environment

  • deactivate

Run the Bot

  • python bot.py

googleCredentials.json - has google credentials


Database Structure

students

  • barcode (document_id)
  • name
  • username
  • school

classes

  • name (document_id)
  • name
  • papers
    • number (document_id)
    • name
    • status
    • students
      • barcode (document_id)
      • rank
      • marks
      • student_id (reference from student)
      • paper_link