This bot is a telegram bot used to give students course outlines. This bot has three type of users superuser, admins, and normal users. It has been developed in python3 using the module python-telegram-bot.
We/I chose this module because first it is free, second it has a large community and it doesn't have vulnerabilities atleast at the time of developing this project.
For now this bot can do the following things.
- Search for course outlines
- Get recent course outlines specific to the user.
- Give reports on the courses.
- Users can choose their own department to get updates.
- Give feedback on the bot.
- Create update and delete course outlines
- Read feedbacks
- Read reports of the users.
- Promote users to admins.
- Demote admins.
- Get list of users.
- Get reports of course outline that are published.
- Get Logs
First, run this command
pip install -r requirements.txt
This is used to install the requirements for the bot.
Then, create a .env file Inside the .env file add this items.
ConnectionString = mongodb://**your database link**
API = **Your API Key**
SuperUser = '[**"superuser telegram usernames" **]'
Lastly If your school system is different from the given change it in plugins/json files/
and insert your school system using a json format
After doing this steps you are now ready to run the bot.
To run the bot run the following command.
python main.py
After running this command the bot will start running.