Skip to content

TomerMellick/Project_Moodle_Bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

103 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Orbit Moodle Bot

This bot is an easy interface to Orbit's and Moodle's websites.

GitHub release (latest by date including pre-releases) GitHub tag (latest SemVer pre-release)
GitHub

How to Use

  1. join the main bot via this link
    or the develop bot via this link.
  2. send to him your Orbit's username and password. (username is your id number and password is not necessarily your Hadassa's Google password)
  3. use any of its commands

How to Open Your Own Bot

  1. Create bot via BotFather
  2. Download the code
  3. Install the requirements packages with pip install requirements.txt
  4. Copy the files in the needed_files dir to the src dir
  5. Change the BotToken.txt to your token

Requirements

  1. python 3.10
  2. all packages from requirements.txt

Commands

start - start the telegram bot, wait for username and password
set_year - set the year of the user update_user - update the user's info (ask again for username and password)
get_grades - get all the grades of the student (include average grade)
get_unfinished_events - get all unfinished events (from moodle)
get_document - get document from the moodle
update_schedule - update the schedule
get_notebook - get notebook file
get_upcoming_exams - get all upcoming exams
get_grade_distribution - get distribution for specific grade
change_password - change password in the orbit website
get_time_table - get the timetable as a pdf file
register_period - register to a period

About

bot to track Moodle and Orbit changes

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors