Why it matters
Component interactions must ACK fast; version custom_id and never store secrets there.
Practical steps
- Version custom_id prefixes
- ACK or defer within about three seconds
- Disable buttons after one-shot actions
- Authorize the clicking user server-side
- Reply ephemeral on unauthorized clicks
Watch out for
- Copy-pasting outdated snippets for discord components buttons without re-reading current official docs.
- Shipping discord components buttons to production without a staging rehearsal and a documented rollback.