14 lines
567 B
Markdown
14 lines
567 B
Markdown
# Discord bot
|
|
|
|
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`.
|
|
|
|
## 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.
|