Sets the position of a Channel or Role.
Returns
Updated item list, withid
and position
propertiesName | Type | Optional | Description |
---|---|---|---|
item | T | No | Object to set the position of |
position | number | No | New position for the object |
relative | boolean | No | Whether position is relative to its current position |
sorted | Collection<Snowflake, T> | No | A collection of the objects sorted properly |
client | Client<true> | No | The client to use to patch the data |
route | string | No | Route to call PATCH on |
reason | string | Yes | Reason for the change |