33 lines
897 B
Plaintext
33 lines
897 B
Plaintext
# Discord Bot Configuration
|
|
DISCORD_TOKEN=your_discord_bot_token
|
|
OWNER_USER_ID=your_discord_user_id
|
|
|
|
# API Configuration
|
|
API_URL=http://localhost:8000
|
|
|
|
# AI Configuration
|
|
AI_API_KEY=your_openai_api_key
|
|
AI_API_URL=https://api.openai.com/v1/chat/completions
|
|
AI_DEFAULT_MODEL=gpt-3.5-turbo
|
|
AI_DEFAULT_SYSTEM_PROMPT=You are a helpful assistant.
|
|
AI_MAX_TOKENS=1000
|
|
AI_TEMPERATURE=0.7
|
|
AI_TIMEOUT=60
|
|
AI_COMPATIBILITY_MODE=openai
|
|
|
|
# SSL Configuration (for API)
|
|
SSL_CERT_FILE=path/to/cert.pem
|
|
SSL_KEY_FILE=path/to/key.pem
|
|
|
|
# OAuth Configuration
|
|
DISCORD_CLIENT_ID=your_discord_client_id
|
|
# No client secret for public clients
|
|
OAUTH_HOST=localhost
|
|
OAUTH_PORT=8080
|
|
API_OAUTH_ENABLED=true
|
|
# If API_OAUTH_ENABLED is true, this will be ignored and API_URL/auth will be used instead
|
|
DISCORD_REDIRECT_URI=http://localhost:8080/oauth/callback
|
|
|
|
# GitHub Webhook Configuration
|
|
GITHUB_SECRET=your_github_webhook_secret
|