Telegram Bot with several features.
You must run python env_setup.py
to create environment variables needed by the bot, or create a .env
file and defining the following variables:
TELEGRAM_BOT=<telegram_bot_token>
ALERTS_CHANNEL=<alert_channel_token>
BOT_USERNAME=<bot_username>
ADMIN=<admin_id>
ADMIN_USER=<admin_username>
pip install -r requirements.txt
You must run env_setup.py
to generate a .env
file which contains useful data:
python env_setup.py
Follow screen instructions
python bot.py