Table of Contents

Class DiscordAuditLogPartialRole

Namespace
DisCatSharp.Entities
Assembly
DisCatSharp.dll

Represents the partial role structure Discord uses inside special audit log role delta payloads.

public sealed class DiscordAuditLogPartialRole
Inheritance
DiscordAuditLogPartialRole
Inherited Members

Remarks

Discord uses this reduced object shape for change keys such as $add and $remove on member-role-related audit log entries.

Properties

Id

Gets the role id.

Name

Gets the role name, if Discord supplied one.