aiogram
🤖💬 Telegram chatbot that only replies to authorized users
388
TELEGRAM_TOKEN with @BotFather on Telegramuser_id with @userinfobot on Telegram/start, /ping, /cancel or any to echo the message sentDocker
docker run --rm -e TELEGRAM_TOKEN="" -e TELEGRAM_USERS="{'user': user_id}" diegogslomp/aiogram
Local
git clone --single-branch https:/github.com/diegogslomp/aiogram bot
cd bot
pip install -r requirements.txt
Linux
export TELEGRAM_TOKEN=""
export TELEGRAM_USERS="{'user': user_id}"
python bot.py
Windows
$Env:TELEGRAM_TOKEN=""
$Env:TELEGRAM_USERS="{'user': user_id}"
python bot.py
Django
cd django-project
git clone --single-branch https:/github.com/diegogslomp/aiogram bot
cd bot
pip install -r requirements.txt
# Add _env keys to environment
# Add bot app in project settings
python run manage.py bot
Content type
Image
Digest
sha256:53ad45b8b…
Size
26.8 MB
Last updated
almost 2 years ago
docker pull diegogslomp/aiogram