$setRolePosition
$setRolePosition
will set a roles’ position.
Usage
Parameters
Field | Type | Description | Required |
---|---|---|---|
roleID | number | The ID of the role to modify. | true |
position | number | The new position of the role. (1 being the very bottom) | true |
guildID? | number | The ID of the guild of where the role is located in. | false |
Example(s)
This will change a random role’s position to 1
(the bot’s highest role must be above that role):