Table of Contents

Class SocketRoleUpdateAuditLogData

Namespace
Discord.WebSocket
Assembly
Discord.Net.WebSocket.dll

Contains a piece of audit log data related to a role update.

public class SocketRoleUpdateAuditLogData : ISocketAuditLogData, IAuditLogData
Inheritance
SocketRoleUpdateAuditLogData
Implements
Inherited Members

Properties

After

Gets the role information after the changes.

public SocketRoleEditInfo After { get; }

Property Value

SocketRoleEditInfo

A role information object containing the role information after the changes were made.

Before

Gets the role information before the changes.

public SocketRoleEditInfo Before { get; }

Property Value

SocketRoleEditInfo

A role information object containing the role information before the changes were made.

RoleId

Gets the ID of the role that was changed.

public ulong RoleId { get; }

Property Value

ulong

A ulong representing the snowflake identifier of the role that was changed.