Install at https://synobot.seby.io
More information can be found at @glenstack/cf-workers-discord-bot.
This project is meant to be used with Wrangler. If you are not already familiar with the tool, we recommend that you install the tool and configure it to work with your Cloudflare account. Documentation can be found here.
-
Create a new discord app https://discord.com/developers/applications
-
Modify config.ts with your app credentials
const clientId = "";
const publicKey = "";
const secret = SECRET;
export {clientId, publicKey, secret}
This project uses prettier
for formatting. To invoke, run npm run format
.
npm run lint
# CLIENT SECRET
wrangler secret put SECRET
wrangler publish
https://synobot.seby.io/setup