Guild to modify role positions from
Instance Method
modifyRolePositions(for:with:then:)
Modifies role positions from a guild
Declaration
func modifyRolePositions(for guildId: Snowflake, with options: [[String : Any]], then completion: (([Role]?, RequestError?) -> Void)? = nil)
Parameters
guildId
-
options
-
Preconfigured options to set role positions to
Options Params
Array of the following:
id: The role id to edit position
position: The sorting position of the role