Why it matters
Modals collect structured text you must length-check and sanitize.
Practical steps
- Open the modal as the initial response when required
- Validate field lengths against Discord limits
- Sanitize before DB or LLM use
- ACK follow-ups correctly after submit
- Prefer modals over long DM questionnaires for short forms
Watch out for
- Copy-pasting outdated snippets for discord modals without re-reading current official docs.
- Shipping discord modals to production without a staging rehearsal and a documented rollback.