TeleBotDown / entrypoint.sh
RYUK999's picture
Rollback files to commit 6b019998
adc6b45
Raw History Blame Contribute Delete
301 Bytes
#!/bin/bash
# Start the local Telegram Bot API server in the background on port 7860
telegram-bot-api --local --http-port=7860 --api-id="$TELEGRAM_API_ID" --api-hash="$TELEGRAM_API_HASH" &
# Allow server startup latency synchronization
sleep 3
# Execute the main Python process
exec python3 bot.py