-
Discord Developer Portal:
- Create a new Application.
- Bot Tab:
- Reset Token -> Copy Token.
- Disable "Public Bot".
- Enable
applications.commandsandbotscopes.
- General Information:
- Copy Application ID and Public Key.
- OAuth2 Tab:
- Copy Client Secret.
- Add Redirect URI:
https://tickets.blindsoft.net/auth/callback
-
Configuration (Local Development):
- Rename
.dev.vars.exampleto.dev.vars. - Fill in your secrets.
- Rename
-
Cloudflare KV:
- Run
wrangler kv:namespace create TICKET_DB. - Copy the output
idand paste it intowrangler.toml.
- Run
-
Register Commands:
- Run
npm run register.
- Run
-
Deploy & Secrets:
- Run
npm run deploy. - Set Secrets in Cloudflare:
wrangler secret put DISCORD_TOKENwrangler secret put DISCORD_PUBLIC_KEYwrangler secret put DISCORD_APPLICATION_IDwrangler secret put DISCORD_CLIENT_SECRETwrangler secret put DISCORD_REDIRECT_URI(Value:https://tickets.blindsoft.net/auth/callback)
- Run
-
Discord Interactions Endpoint:
- Go to Discord Developer Portal -> General Information.
- Paste
https://tickets.blindsoft.netinto Interactions Endpoint URL.
- Setup Role: Run
/config role id:<role_id>to set the support role. - Setup Dev Role: Run
/config devrole id:<role_id>for escalations. - Setup Logs: Run
/config logs channel:<#channel>for transcripts. - Add Products: Run
/add product name:<ProductName>. - Create Panel: Run
/panelin your support channel. - Dashboard: Visit
https://tickets.blindsoft.net/dashboard(Requires Support Role).
This project is open-source and licensed under the GNU General Public License v3 (GPLv3). See the LICENSE file for details.