Skip to content

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 - 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 has to happen in that bot's own codebase - FlareKey just hands it the list.

FlareKey documentation