forked from Vedinsoh/discord-auto-publisher
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
15 lines (13 loc) · 765 Bytes
/
.env.example
File metadata and controls
15 lines (13 loc) · 765 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# Common
NODE_ENV = "development" # Options: 'development', 'production'
LOGGER_LEVEL = "info" # Options: 'debug', 'info', 'warn', 'error', 'fatal'
REDIS_URI = "redis://cache:6379" # Redis connection string
MONGO_URI = "mongodb+srv://USER:PASS@HOST/auto_publisher" # MongoDB connection string (external; shared across all bot instances for presence aggregation)
DISCORD_TOKEN = "your-discord-bot-token" # Discord bot token
# Discord proxy
PORT = "8080" # The port the proxy will listen on
REDIS_TIMEOUT_MS = 200 # Redis op timeout before failing open
# Bot service
BOT_ADMINS = "ID_1, ID_2" # User IDs, separate multiple admins with a comma. Spaces are optional
BOT_SHARDS = 1 # Number of shards to spawn
BOT_SHARDS_PER_CLUSTER = 1 # Number of shards per cluster