first commit
This commit is contained in:
33
.env.example
Normal file
33
.env.example
Normal file
@@ -0,0 +1,33 @@
|
||||
# Discord Configuration
|
||||
DISCORD_TOKEN=your_discord_bot_token_here
|
||||
DISCORD_GUILD_ID= # Optional: for faster command sync during development
|
||||
|
||||
# AI Provider Configuration
|
||||
# Available providers: "openai", "openrouter", "anthropic"
|
||||
AI_PROVIDER=openai
|
||||
AI_MODEL=gpt-4o
|
||||
|
||||
# Provider API Keys (set the ones you use)
|
||||
OPENAI_API_KEY=sk-xxx
|
||||
OPENROUTER_API_KEY=sk-or-xxx
|
||||
ANTHROPIC_API_KEY=sk-ant-xxx
|
||||
|
||||
# AI Settings
|
||||
AI_MAX_TOKENS=1024
|
||||
AI_TEMPERATURE=0.7
|
||||
|
||||
# SearXNG Configuration
|
||||
SEARXNG_BASE_URL=http://localhost:8080
|
||||
SEARXNG_TIMEOUT=10
|
||||
|
||||
# Rate Limiting
|
||||
RATE_LIMIT_MESSAGES=10 # Messages per user per minute
|
||||
RATE_LIMIT_SEARCHES=5 # Searches per user per minute
|
||||
|
||||
# Logging
|
||||
LOG_LEVEL=INFO
|
||||
|
||||
# Bot Behavior
|
||||
BOT_NAME=Daemon Boyfriend
|
||||
BOT_PERSONALITY=helpful, witty, and slightly mischievous
|
||||
MAX_CONVERSATION_HISTORY=20
|
||||
Reference in New Issue
Block a user