Table of Contents

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 = 0

Does not hydrate any references.

Actor = 1

Hydrates the acting moderator or actor reference.

Target = 2

Hydrates the primary target reference for the entry family.

Examples include the target member, role, webhook, scheduled event, thread, or soundboard sound.

Hydrates 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 | Related

Hydrates 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.