- Register on Cloudflare
- Register Telegram Bot
- Clone the repo
- Create
.dev.varsusing.dev.vars.example - Set compatibility date in
wrangler.toml - Run (wrangler installation):
npm run setup - Run to tell the bot to use the correct cloudflare worker
npm run set-webhook - Start development with
npm run start - ...do something awesome...
- (OPTIONAL) run
npm run set-webhookif you've changedBOT_DOMAINin.dev.vars - Deploy with:
npm run deploy
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|