Class DiscordAuditLogValueChange<T>
- Namespace
- DisCatSharp.Entities
- Assembly
- DisCatSharp.dll
Represents a typed before-and-after audit log value change.
public sealed class DiscordAuditLogValueChange<T>
Type Parameters
TThe value type stored by the change.
- Inheritance
-
DiscordAuditLogValueChange<T>
- Inherited Members
Remarks
Discord may omit either side of a change object. Use HasBefore and HasAfter to distinguish between an explicit value and an omitted one.
Properties
- After
Gets the new value.
- Before
Gets the previous value.
- HasAfter
Gets whether Discord supplied a new value.
- HasBefore
Gets whether Discord supplied a previous value.
- IsCreated
Gets whether the value was introduced from a previously absent state.
- IsReset
Gets whether the value was reset or removed.