Table of Contents

Class ReorderRoleProperties

Namespace
Discord
Assembly
Discord.Net.Core.dll

Properties that are used to reorder an IRole.

public class ReorderRoleProperties
Inheritance
ReorderRoleProperties
Inherited Members

Constructors

ReorderRoleProperties(ulong, int)

Initializes a ReorderRoleProperties with the given role ID and position.

public ReorderRoleProperties(ulong id, int pos)

Parameters

id ulong

The ID of the role to be edited.

pos int

The new zero-based position of the role.

Properties

Id

Gets the identifier of the role to be edited.

public ulong Id { get; }

Property Value

ulong

A ulong representing the snowflake identifier of the role to be modified.

Position

Gets the new zero-based position of the role.

public int Position { get; }

Property Value

int

An int representing the new zero-based position of the role.