Files
SupportBot/Configs/api.yml
T
2026-05-16 15:10:27 +01:00

24 lines
831 B
YAML

# -------------------------------
# API Server Configuration
# -------------------------------
API:
Enabled: true
Port: 3000 # PORT NUMBER FOR YOUR BOT
# Used to sign dashboard login sessions (keep random; do not share)
SecretKey: "fuiesdfioewefioesfioiosnd"
# Discord OAuth2 — create an app at https://discord.com/developers/applications
# Add redirect URL exactly matching RedirectUri below (OAuth2 → Redirects)
OAuth:
Enabled: true
ClientId: "1289713673123922032"
ClientSecret: "KwSoar0SLeHXWl5oePGNTb9J5q5NVKAV"
RedirectUri: "http://localhost:3000/api/auth/discord/callback"
# Permanent owners (full access, manage users). Add more dashboard users in the Users page.
OwnerUserIds:
- "829112572816130058"
# Legacy alias for OwnerUserIds (optional)
AllowedUserIds: []