cvk98 / Telegram-Bot_Administrator

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Telegram-Bot_Administrator

Superadmin Chat Bot Supports Python 3.6+

Installing

We create a virtual environment with Python 3 and installing dependencies

virtualenv venv
source venv/bin/activate
pip install -r requirements.txt

Configuration

  1. You need to talk to BotFather as described here and get an API token. Also you need to disable privacy by sending BotFather command /setprivacy
  2. Edit the bot/config.py file. And we setup your configuration.
  3. To create a table in the database, edit the line in main.py:
conn = loop.run_until_complete(create_conn(**DB, create_table=True))

About

License:MIT License


Languages

Language:Python 100.0%