Show / Hide Table of Contents

Class MemberRoleAuditLogData

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

Inheritance
System.Object
MemberRoleAuditLogData
Implements
IAuditLogData
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Discord.Rest
Assembly: Discord.Net.Rest.dll
Syntax
public class MemberRoleAuditLogData : IAuditLogData

Properties

| Improve this Doc View Source

Roles

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

Declaration
public IReadOnlyCollection<MemberRoleEditInfo> Roles { get; }
Property Value
Type Description
System.Collections.Generic.IReadOnlyCollection<MemberRoleEditInfo>

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

| Improve this Doc View Source

Target

Gets the user that the roles changes were performed on.

Declaration
public IUser Target { get; }
Property Value
Type Description
IUser

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

Implements

IAuditLogData
  • Improve this Doc
  • View Source
Back to top Generated by DocFX