Telegram bot for check hosts
You must have Python 3 to launch bot. Also before launching you have to install requirements via pip
pip install -r requirements.txt
Than you have to create config.py
:
# Telegram @HostCheckerBot API Token
TG_TOKEN = '<YOUR_API_KEY>'
SQLITE_DB = 'hcb.db'
SHELVE_DB = 'shelve.db'
# if user_id in this list bot ask user the password:
# if this correct - user can do some more things
ADMIN_LIST = ['<U1_TG_ID>', '<U2_TG_ID>']
ADMIN_PASSWORD = '<ADMIN_PASSWORD>'
To launch bot:
python ./main.py