- At first, you need to create new bot in Telegram.
- Install python and venv
- Install poetry
- Install dependencies with
poetry install
You're ready to run bot locally.
- Set up environment variable
TELEGRAM_BOT_KEY
. For example,export TELEGRAM_BOT_KEY=<your_token>
- Activate environment
poetry shell
- Run bot
python hackabot\telegram.py