(Init): Added shit
This commit is contained in:
26
.env.example
26
.env.example
@@ -1,6 +1,24 @@
|
||||
# Elly Discord Bot Environment Variables
|
||||
# ========================================
|
||||
# Elly Discord Bot — Environment Variables
|
||||
# =========================================
|
||||
#
|
||||
# Copy this file to `.env` and fill in real values. Both `@elly/core` and
|
||||
# `@elly/bot` validate their environment with Zod at boot — missing or
|
||||
# malformed values will abort the process before any side effects occur.
|
||||
|
||||
# Discord Bot Token (required)
|
||||
# Get this from https://discord.com/developers/applications
|
||||
# ---- Shared (both crates) ----
|
||||
# Controls log formatting and other dev-vs-prod behaviour.
|
||||
NODE_ENV=development
|
||||
|
||||
# Optional: override the level from [logging] in config.toml.
|
||||
# One of: debug | info | warn | error | fatal
|
||||
# LOG_LEVEL=debug
|
||||
|
||||
# ---- @elly/bot ----
|
||||
# Discord bot token. Get it from https://discord.com/developers/applications.
|
||||
DISCORD_TOKEN=your_discord_bot_token_here
|
||||
|
||||
# ---- IPC (shared between @elly/core and @elly/bot) ----
|
||||
# Shared secret used to authenticate Bot -> Core HTTP requests.
|
||||
# Must be the same value in both processes. Use a long random string.
|
||||
# Generate one with: `openssl rand -hex 32`
|
||||
IPC_TOKEN=change-me-to-a-long-random-secret-of-at-least-16-chars
|
||||
|
||||
Reference in New Issue
Block a user