Skip to content

SynoCommunity/synobot-discord

Repository files navigation

🤖 synobot-discord

Install at https://synobot.seby.io

More information can be found at @glenstack/cf-workers-discord-bot.

Getting Started

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.

  1. Create a new discord app https://discord.com/developers/applications

  2. Modify config.ts with your app credentials

const clientId = "";
const publicKey = "";
const secret = SECRET;

export {clientId, publicKey, secret}

Formatting

This project uses prettier for formatting. To invoke, run npm run format.

Previewing and Publishing

npm run lint
# CLIENT SECRET
wrangler secret put SECRET
wrangler publish
https://synobot.seby.io/setup