Skip to main content

Struct MemberRoleEditInfo

An information object representing a change in one of a guild member's roles.

Assembly: Discord.Net.Rest.dll​
View Source​
Declaration
public struct MemberRoleEditInfo

Properties​

Name​

Gets the name of the role that was changed.

View Source​
Declaration
public readonly string Name { get; }

RoleId​

Gets the ID of the role that was changed.

View Source​
Declaration
public readonly ulong RoleId { get; }

Added​

Gets a value that indicates whether the role was added to the user.

View Source​
Declaration
public readonly bool Added { get; }