Sign inSign up

vit1/telegram-hello-ep17-bot

By vit1

•Updated about 9 years ago

This is a small how to build a telegram bot for EuroPython 2017

Image
0

389

vit1/telegram-hello-ep17-bot repository overview

⁠telegram-hello-ep17-bot

This is a small how to build a telegram bot for EuroPython 2017

⁠Build venv

Requires python 3

./build_venv.sh

⁠Run

. .venv/bin/activate
export TG_BOT_TOKEN="Bot Token goes here"
export TG_BOT_NAME="Bot Name goes here"
python src/app.py

⁠Docker

docker build -t ep17bot . && \
docker run -e TG_BOT_TOKEN="token" ep17bot

Tag summary

Content type

Image

Digest

Size

31 MB

Last updated

about 9 years ago

docker pull vit1/telegram-hello-ep17-bot