Enum AuditLogHydrationTargets
- Namespace
- DisCatSharp.Enums
- Assembly
- DisCatSharp.dll
Controls which audit log references should be upgraded by HydrateAsync(AuditLogHydrationTargets, bool, CancellationToken).
[Flags]
public enum AuditLogHydrationTargets
Fields
None = 0Does not hydrate any references.
Actor = 1Hydrates the acting moderator or actor reference.
Target = 2Hydrates the primary target reference for the entry family.
Examples include the target member, role, webhook, scheduled event, thread, or soundboard sound.
Related = 4Hydrates secondary or contextual references attached to the entry family.
Examples include channels referenced through the options payload, overwrite principals, or related members on message and auto moderation entries.
All = Actor | Target | RelatedHydrates the actor, primary target, and related references.
Remarks
Audit log parsing is intentionally side-effect free and may therefore produce partial or synthetic entities. These flags allow callers to selectively replace those placeholders with cached or freshly fetched live data.