Problem
The Discord bot starts without verifying required env vars are present.
Current Behavior
Missing DISCORD_TOKEN, DISCORD_CLIENT_ID, API_URL, or BOT_API_KEY may lead to runtime failure or confusing errors.
Why This Improvement Is Needed
Failing fast on misconfiguration makes bot setup clearer and safer.
Proposed Solution
Add required env var validation in bot/index.js and exit with a clear error message when missing.
Expected Outcome
Bot startup fails early with a helpful message when configuration is incomplete.
Additional Notes
This is a backend startup validation improvement.
Problem
The Discord bot starts without verifying required env vars are present.
Current Behavior
Missing
DISCORD_TOKEN,DISCORD_CLIENT_ID,API_URL, orBOT_API_KEYmay lead to runtime failure or confusing errors.Why This Improvement Is Needed
Failing fast on misconfiguration makes bot setup clearer and safer.
Proposed Solution
Add required env var validation in
bot/index.jsand exit with a clear error message when missing.Expected Outcome
Bot startup fails early with a helpful message when configuration is incomplete.
Additional Notes
This is a backend startup validation improvement.