npm i @cloudflare/wrangler -g
Once you have installed Wrangler, spinning up and deploying your first Worker is easy!
$ git clone https://github.com/top-gg/crowdin-discord
$ cd crowdin-discord
# open wrangler.toml and replace `name = "WORKER NAME"` with your Cloudflare Worker name and `account_id = "YOUR account_id"` with your accound id (can be found in workers section)
# open index.js , go to line โ18 and replace 'DISCORD WEBHOOK URL' with Discord Webhook URL
$ wrangler config
$ wrangler publish