Class DiscordAuditLogChange
- Namespace
- DisCatSharp.Entities
- Assembly
- DisCatSharp.dll
Represents a single Discord audit log change object.
public sealed class DiscordAuditLogChange
- Inheritance
-
DiscordAuditLogChange
- Inherited Members
Properties
- HasNewValue
Gets whether Discord supplied a new value.
- HasOldValue
Gets whether Discord supplied an old value.
- Key
Gets the Discord change key.
- NewValue
Gets the new raw value.
- OldValue
Gets the old raw value.
Methods
- GetNewBoolean()
Converts the new raw value to a boolean when possible.
- GetNewDateTimeOffset()
Converts the new raw value to a DateTimeOffset when possible.
- GetNewEnum<TEnum>()
Converts the new raw value to the specified enum type when possible.
- GetNewInt32()
Converts the new raw value to a 32-bit integer when possible.
- GetNewInt64()
Converts the new raw value to a 64-bit integer when possible.
- GetNewPermissions()
Converts the new raw value to a permissions bitset when possible.
- GetNewSnowflake()
Converts the new raw value to a snowflake when possible.
- GetNewValue<T>()
Converts the new raw value to the specified type.
- GetOldBoolean()
Converts the old raw value to a boolean when possible.
- GetOldDateTimeOffset()
Converts the old raw value to a DateTimeOffset when possible.
- GetOldEnum<TEnum>()
Converts the old raw value to the specified enum type when possible.
- GetOldInt32()
Converts the old raw value to a 32-bit integer when possible.
- GetOldInt64()
Converts the old raw value to a 64-bit integer when possible.
- GetOldPermissions()
Converts the old raw value to a permissions bitset when possible.
- GetOldSnowflake()
Converts the old raw value to a snowflake when possible.
- GetOldValue<T>()
Converts the old raw value to the specified type.
- ToCollectionChange<T>()
Converts the raw change into a typed collection change.
- ToDateTimeOffsetChange()
Converts the raw change into a DateTimeOffset value change.
- ToInt32Change()
Converts the raw change into a 32-bit integer value change.
- ToPartialRoleCollectionChange()
Converts the raw change into a partial role collection change.
- ToPermissionsChange()
Converts the raw change into a permissions value change.
- ToSnowflakeChange()
Converts the raw change into a snowflake value change.
- ToSnowflakeCollectionChange()
Converts the raw change into a snowflake collection change.
- ToValueChange<T>()
Converts the raw change into a typed scalar value change.