Why it matters
Select values must be allowlisted like any form input.
Practical steps
- Allowlist accepted values server-side
- ACK quickly on select
- Authorize the selecting user
- Keep option lists short
- 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.