Interface CategoryOrderAction
-
- All Superinterfaces:
ChannelOrderAction,OrderAction<GuildChannel,ChannelOrderAction>,RestAction<java.lang.Void>
public interface CategoryOrderAction extends ChannelOrderAction
An extension ofChannelOrderActionwith similar functionality, but constrained to the bounds of a singleCategory.
To apply the changes you must finish theRestAction.Before you can use any of the
movemethods you must use eitherselectPosition(GuildChannel)orOrderAction.selectPosition(int)!- Author:
- Kaidan Gustave
- See Also:
Category.modifyTextChannelPositions(),Category.modifyVoiceChannelPositions()
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CategorygetCategory()Gets theCategorycontrolled by this CategoryOrderAction.-
Methods inherited from interface net.dv8tion.jda.api.requests.restaction.order.ChannelOrderAction
getChannelTypes, getGuild, getSortBucket
-
Methods inherited from interface net.dv8tion.jda.api.requests.restaction.order.OrderAction
deadline, getCurrentOrder, getSelectedEntity, getSelectedPosition, isAscendingOrder, moveDown, moveTo, moveUp, reverseOrder, selectPosition, selectPosition, setCheck, shuffleOrder, sortOrder, swapPosition, swapPosition, timeout
-
Methods 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, queue, queue, queue, queueAfter, queueAfter, queueAfter, queueAfter, queueAfter, queueAfter, submit, submit, submitAfter, submitAfter, zip
-
-