Why it matters
Discord audit logs need View Audit Log permission and careful PII handling; they lag and are not a realtime event bus.
Practical steps
- Request only the View Audit Log permission you need.
- Use them for attribution, not realtime automation.
- Map the action types you care about; ignore the rest.
- Redact target user tags in retained logs.
- Prefer gateway events for realtime workflows.
Watch out for
- Treating audit logs as guaranteed realtime.
- Storing reason strings that contain secrets.