BotNetwork

Common environment variables for bot projects

Conventions vary by template. Keep secrets out of git.

VariableTypical use
BOT_TOKEN / TELEGRAM_TOKENTelegram bot token
DISCORD_TOKENDiscord bot token
CLIENT_ID / GUILD_IDDiscord application / guild ids
SLACK_BOT_TOKEN / SLACK_APP_TOKEN / SLACK_SIGNING_SECRETSlack Bolt
WEBHOOK_SECRET / TELEGRAM_SECRETTelegram secret_token
PORTHTTP listen port
DATABASE_URLPostgres connection URL
REDIS_URLRedis connection URL

.env validator ยท Env guide