swapRolePositions
inline suspend fun GuildBehavior.swapRolePositions(builder: RolePositionsModifyBuilder.() -> Unit): Flow<Role>(source)
Requests to swap positions of roles in this guild.
This request will execute regardless of the consumption of the return value.
Return
the roles of this guild after the update in an unspecified order, call toList().sorted() on the returned Flow to get a consistent order.
Throws
if something went wrong during the request.