Enhance Discord integration by adding optional bot permissions in environment files and updating the dashboard to include an "Add Bot to your Server" button. Refactor authentication logic to handle token refresh and improve error handling for Discord sessions. Update placeholder text for better clarity in the search input field.
Some checks failed
CI / Bot (Python) (push) Successful in 12s
CI / Dashboard (Next.js) (push) Failing after 8s

This commit is contained in:
TheOnlyMace
2026-07-21 22:19:13 +02:00
parent 8294c1b4f7
commit 9006b06c09
10 changed files with 229 additions and 59 deletions

View File

@@ -11,9 +11,10 @@ NEXT_PUBLIC_API_URL=http://127.0.0.1:8000/api/v1
NEXTAUTH_URL=http://localhost:3000/
NEXTAUTH_SECRET=generate_a_long_random_secret_here
# Discord OAuth configuration
# Discord OAuth configuration (also used by /api/invite for “Add to Server”)
DISCORD_CLIENT_ID=
DISCORD_CLIENT_SECRET=
# DISCORD_BOT_PERMISSIONS=8
# Dashboard admin user IDs (comma separated — your Discord user ID)
ADMIN_IDS=YOUR_DISCORD_USER_ID_HERE