Interface RoleOrderAction
- All Superinterfaces:
OrderAction<Role,,RoleOrderAction> RestAction<Void>
Implementation of
To apply the changes you must finish the
OrderAction
designed to modify the order of Roles of the
specified Guild.
To apply the changes you must finish the
RestAction
Before you can use any of the move methods
you must use either selectPosition(Role) or OrderAction.selectPosition(int)!
This uses descending order!
- Since:
- 3.0
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptiongetGuild()TheGuildwhich holds the roles fromOrderAction.getCurrentOrder()Methods inherited from interface net.dv8tion.jda.api.requests.restaction.order.OrderAction
deadline, getCurrentOrder, getSelectedEntity, getSelectedPosition, isAscendingOrder, moveAbove, moveBelow, moveDown, moveTo, moveUp, reverseOrder, selectPosition, selectPosition, setCheck, shuffleOrder, sortOrder, swapPosition, swapPosition, timeoutMethods inherited from interface net.dv8tion.jda.api.requests.RestAction
addCheck, and, and, complete, complete, completeAfter, delay, delay, delay, delay, flatMap, flatMap, getCheck, getJDA, map, mapToResult, onErrorFlatMap, onErrorFlatMap, onErrorMap, onErrorMap, onSuccess, queue, queue, queue, queueAfter, queueAfter, queueAfter, queueAfter, queueAfter, queueAfter, submit, submit, submitAfter, submitAfter, zip
-
Method Details
-
getGuild
TheGuildwhich holds the roles fromOrderAction.getCurrentOrder()- Returns:
- The corresponding
Guild
-