feat(platform): add Discord onboarding and Velocity gate
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user