feat(platform): add Discord onboarding and Velocity gate

This commit is contained in:
dmg
2026-08-01 13:45:18 -04:00
parent 9d305e5dc9
commit c5de0a1810
80 changed files with 4840 additions and 1572 deletions
+10 -2
View File
@@ -1,5 +1,13 @@
# Discord bot
The bot will provide ephemeral `/register` and `/account` responses containing short-lived one-time links. The target guild is read from admin-managed application settings rather than a deployment-only environment variable.
The bot provides ephemeral `/register` and `/account` responses containing ten-minute, single-use links. Commands only work in the guild configured by `DISCORD_GUILD_ID`.
Implementation begins in Phase 2 alongside the one-time login service.
## Setup
```bash
cp apps/discord-bot/.env.example apps/discord-bot/.env
npm run commands:deploy --workspace @minecraft-account-manager/discord-bot
npm run dev --workspace @minecraft-account-manager/discord-bot
```
The bot requires permission to use application commands. Nickname management will additionally require `Manage Nicknames`, with the bot role above managed members.