discord.js v14 + MongoDB + Gemini AI moderation + tickets + levels + anti-raid + Bedrock status.
cp .env.example .envand fill valuesnpm installnpm run deploy(registers slash commands globally)npm start
- Push to GitHub
- New Project → Deploy from repo
- Add the env vars from
.env.examplein Railway → Variables - Run
npm run deployonce via Railway shell to register commands
index.js— bootstrap, mongoose connect, command/event loaderscommands/— slash commands (auto-loaded)events/— gateway event handlers (auto-loaded)systems/— automod, antiraid, leveling, tickets, logging, file-protectmodels/— mongoose schemasutils/— gemini client, helpers