Files
cavepediav2/discord/.env.example
Paul Walko 0cd17238d0
All checks were successful
Build and Push Discord Bot Docker Image / build (push) Successful in 1m5s
discord bot
2025-12-26 16:21:28 +01:00

26 lines
627 B
Plaintext

# Discord Bot Token (required)
DISCORD_BOT_TOKEN=your-bot-token-here
# Agent server URL (required)
AGENT_URL=http://localhost:8000
# Channel IDs where bot responds to @mentions (JSON array, required)
DISCORD_ALLOWED_CHANNELS=["123456789012345678"]
# Channel IDs where bot responds to ALL messages (JSON array, optional)
DISCORD_AMBIENT_CHANNELS=[]
# Default roles for document access (JSON array)
DISCORD_DEFAULT_ROLES=["public"]
# Request sources-only mode from agent
DISCORD_SOURCES_ONLY=false
# Rate limiting
RATE_LIMIT_USER_SECONDS=30
RATE_LIMIT_GLOBAL_PER_MINUTE=20
# Logging
LOG_LEVEL=INFO
ENVIRONMENT=development