Appearance
Discord Bot
The bot process is a separate codebase from this server. FlareKey only exposes the data for it.
- GET /api/discord-bot/gates?guildId=xxx, with header x-bot-api-key: <shared bot secret>
- Response: { ok, whitelisted, gates: [{ id, name, durationHours, url }] }
- Wiring an actual "Get Free Key" button or command onto a gate's url happens in that bot's own codebase. FlareKey just hands it the list.