Table of Contents

Class DiscordAuditLogCollectionChange<T>

Namespace
DisCatSharp.Entities
Assembly
DisCatSharp.dll

Represents a typed before-and-after audit log collection change.

public sealed class DiscordAuditLogCollectionChange<T>

Type Parameters

T

The item type stored by the collection.

Inheritance
DiscordAuditLogCollectionChange<T>
Inherited Members

Remarks

Collection changes are exposed separately from scalar value changes because Discord often uses arrays for special delta payloads such as member role additions or removed tags.

Properties

After

Gets the new collection.

Before

Gets the previous collection.

HasAfter

Gets whether Discord supplied a new collection.

HasBefore

Gets whether Discord supplied a previous collection.

IsCreated

Gets whether the collection was introduced from a previously absent state.

IsReset

Gets whether the collection was reset or removed.