Table of Contents

Class SocketMemberRoleAuditLogData

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

Contains a piece of audit log data related to a change in a guild member's roles.

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

Properties

IntegrationType

Gets the type of integration which performed the action. null if the action was performed by a user.

public string IntegrationType { get; }

Property Value

string

Roles

Gets a collection of role changes that were performed on the member.

public IReadOnlyCollection<SocketMemberRoleEditInfo> Roles { get; }

Property Value

IReadOnlyCollection<SocketMemberRoleEditInfo>

A read-only collection of SocketMemberRoleEditInfo, containing the roles that were changed on the member.

Target

Gets the user that the roles changes were performed on.

public Cacheable<SocketUser, RestUser, IUser, ulong> Target { get; }

Property Value

Cacheable<SocketUser, RestUser, IUser, ulong>

A cacheable user object representing the user that the role changes were performed on.