BotNetwork

Select menus for Discord bots

select values must be allowlisted like any form input.

Guide1 min readUpdated

Why it matters

Select values must be allowlisted like any form input.

Practical steps

  1. Allowlist accepted values server-side
  2. ACK quickly on select
  3. Authorize the selecting user
  4. Keep option lists short
  5. Version custom_id on the menu

Watch out for

  • Copy-pasting outdated snippets for discord select menus without re-reading current official docs.
  • Shipping discord select menus to production without a staging rehearsal and a documented rollback.

Related comparisons and tools