Method TryGetChange
- Namespace
- DisCatSharp.Entities
- Assembly
- DisCatSharp.dll
TryGetChange(string, out DiscordAuditLogChange)
Tries to get a change by key.
public bool TryGetChange(string key, out DiscordAuditLogChange change)
Parameters
keystringThe Discord change key to look up.
changeDiscordAuditLogChangeWhen this method returns, contains the matching change if one was found; otherwise null.
Returns
Remarks
The lookup is ordinal and case-sensitive to match Discord's change key behavior exactly.