gendarmerie (taken from the series "Barare Nights") can manage your telegram group, working with python-telegram-bot and sqlite3. it's designed for special group handling.
-
clone it from github:
git clone https://github.com/pycdr/gendarmerie-telegram-bot cd gendarmerie-telegram-bot
-
install required libraries, listed in
requirements,txt
:pip install -r requirements.txt
-
set
TOKEN
(bot token - required),ADMIN
(bot admin telegram id - required) andWEBHOOK
(webhook URL) in.env
-
then, run:
chmod +x main.py ./main.py