(Init): Added shit

This commit is contained in:
2026-05-28 23:46:40 +00:00
parent a5250706cb
commit 8410600c63
46 changed files with 3898 additions and 228 deletions

View File

@@ -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