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.
This commit is contained in:
@@ -26,6 +26,8 @@ JISHAKU_ENABLED=false
|
||||
NEXTAUTH_SECRET=generate_a_long_random_secret_here
|
||||
DISCORD_CLIENT_ID=
|
||||
DISCORD_CLIENT_SECRET=
|
||||
# Optional: Discord permission bitfield for /api/invite (default: 8 = Administrator)
|
||||
# DISCORD_BOT_PERMISSIONS=8
|
||||
|
||||
# Same Discord user IDs as owners/admins (comma-separated)
|
||||
ADMIN_IDS=YOUR_DISCORD_USER_ID_HERE
|
||||
|
||||
Reference in New Issue
Block a user