Discord
Add Mint Ops to a server
The bot answers /scan, /help, and /invite. It does not sign you in and does not read messages.
The bot is not connected yet. Create a Discord application, paste the keys on the droplet, register slash commands, then this button appears.
- Open Discord Developer Portal → New Application → name it Mint Ops.
- Bot → Add Bot → Reset Token. Copy the token. Also copy Application ID and Public Key from General Information.
- OAuth2 → URL Generator is not needed for login. For the bot, use this page's Add button after keys are on the server.
- General Information → Interactions Endpoint URL:
https://mintops.co/api/discord/interactions - On the droplet, add to
/opt/mintops/.env: DISCORD_APPLICATION_ID, DISCORD_CLIENT_ID (same as application id), DISCORD_PUBLIC_KEY, DISCORD_BOT_TOKEN. Then restart the app and rundocker compose exec app node scripts/register-discord-commands.mjs - Click Add to Discord, pick a server, allow Send Messages, Embed Links, and Use Application Commands. In that server type
/scanand paste a mint.