Table of Contents

Class MemberRoleAuditLogData

Namespace
Discord.Rest
Assembly
Discord.Net.Rest.dll

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

public class MemberRoleAuditLogData : IAuditLogData
Inheritance
MemberRoleAuditLogData
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<MemberRoleEditInfo> Roles { get; }

Property Value

IReadOnlyCollection<MemberRoleEditInfo>

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

Target

Gets the user that the roles changes were performed on.

public IUser Target { get; }

Property Value

IUser

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