discord bot
All checks were successful
Build and Push Discord Bot Docker Image / build (push) Successful in 1m5s
All checks were successful
Build and Push Discord Bot Docker Image / build (push) Successful in 1m5s
This commit is contained in:
25
discord/.env.example
Normal file
25
discord/.env.example
Normal file
@@ -0,0 +1,25 @@
|
||||
# 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
|
||||
Reference in New Issue
Block a user