Why it matters
Context menus act on a target; verify the invoker may touch that target.
Practical steps
- Register as guild commands while iterating
- Check permissions relative to the target
- Prefer ephemeral results for moderation
- Log invoker and target ids
- Handle missing message content intent carefully
Watch out for
- Copy-pasting outdated snippets for discord context menus without re-reading current official docs.
- Shipping discord context menus to production without a staging rehearsal and a documented rollback.