Skip to content

Latest commit

 

History

History
31 lines (20 loc) · 621 Bytes

README.MD

File metadata and controls

31 lines (20 loc) · 621 Bytes

Discord Bot

Register commands

The following command only needs to be run once:

$ npm run register

Run app

Now you should be ready to start your server:

$ npm run dev

Setup app

interactions-endpoint

Storing secrets

The credentials in .dev.vars are only applied locally. The production service needs access to credentials from your app:

$ wrangler secret put DISCORD_TOKEN
$ wrangler secret put DISCORD_PUBLIC_KEY
$ wrangler secret put DISCORD_APPLICATION_ID