Official Telegram Bot of SUMS MD 1400 with full admin panel in Bot and also with flask app and a Support Bot.
- Python3
- pip
- python-telegram-bot
- flask
- flask-login
- flask-limiter
- requests
- Install Requirements:
$ pip3 install -r requirements.txt
- Run database.py to create database and tables and also insert test user information:
$ python3 database.py
- Define Main Bot and Support Bot Token in config.py
- Define Bot admins(needs admins user_ids) in config.py
- Define Channel_id(needs for mandatory membership) in config.py
- Define Site Address in config.py
- Define Sec token and Secret key in config.py
- Deploy flaskapp on server with apache2 or nginx
- Run bot.py to start Main Bot:
$ python3 bot.py
- Run talkbot.py to start Support Bot:
$ python3 talkbot.py
Note: File IDs are unique for each Bot Token so sending file won't work and you will get error(Telegram rules! :) ).
SUMS MD 1400 Telegram Bot is licensed under the GNU General Public License v3.0