Class MemberRoleAuditLogData
Contains a piece of audit log data related to a change in a guild member's roles.
Inheritance
System.Object
MemberRoleAuditLogData
Implements
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 SourceRoles
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. |
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. |