Skip to content

Latest commit

 

History

History
38 lines (24 loc) · 732 Bytes

README.md

File metadata and controls

38 lines (24 loc) · 732 Bytes

Development Telegram Bot

Telegram Bot with several features.

Quickstart

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>

Installation

Dependencies

pip install -r requirements.txt

Creating environment variables file

You must run env_setup.py to generate a .env file which contains useful data:

python env_setup.py

Follow screen instructions

Usage

python bot.py