Class PositionOptions
A set of parameters defining the position of an item such as a channel or role.
Inherited Members
Namespace: Discore.Http
Assembly: Discore.dll
Syntax
public class PositionOptions
Properties
| Name | Description |
|---|---|
| Id | Gets or sets the ID of the item to change the position of (e.g. a channel or role ID). |
| Position | Gets or sets the sorting position of the item. Note: Positions start at 1 not 0. |
Methods
| Name | Description |
|---|---|
| SetId(Snowflake) | Sets the ID of the item to change the position of (e.g. a channel or role ID). |
| SetPosition(int) | Sets the sorting position of the item. Note: Positions start at 1 not 0. |