skhaz / telegram-wonka-bot

Home Page:https://t.me/you_must_be_new_here_bot

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Deploy

export PROJECT_ID=bots-for-telegram
export TOKEN=your-telegram-bot-token
gcloud run deploy wonka \
    --source $(pwd) \
    --region us-central1 \
    --allow-unauthenticated \
    --platform managed \
    --set-env-vars TOKEN=${TOKEN} \
    --project ${PROJECT_ID}

Set Webhook (only need to be done once)

curl "https://api.telegram.org/bot${TOKEN}/setWebhook?url=$(gcloud run services describe wonka --format 'value(status.url)' --project ${PROJECT_ID})"

About

https://t.me/you_must_be_new_here_bot


Languages

Language:Python 86.6%Language:Dockerfile 13.4%