Table of Contents

Method GetChange

Namespace
DisCatSharp.Entities
Assembly
DisCatSharp.dll

GetChange(string)

Gets a change by key, or null if not present.

public DiscordAuditLogChange? GetChange(string key)

Parameters

key string

The Discord change key to look up.

Returns

DiscordAuditLogChange

The matching change, or null when the key does not exist.

Remarks

The lookup is ordinal and case-sensitive to match Discord's change key behavior exactly.