T - The type of Channel defining
which channels to orderpublic class ChannelOrderAction<T extends Channel> extends OrderAction<T,ChannelOrderAction<T>>
OrderAction
to modify the order of Channels for a Guild.
RestActionRestAction.EmptyRestAction<T>, RestAction.FailedRestAction<T>DEFAULT_FAILURE, DEFAULT_SUCCESS, LOG| Constructor and Description |
|---|
ChannelOrderAction(Guild guild,
ChannelType type)
Creates a new ChannelOrderAction instance
|
| Modifier and Type | Method and Description |
|---|---|
ChannelType |
getChannelType()
The
ChannelType of
all channels that are ordered by this ChannelOrderAction |
Guild |
getGuild()
The
Guild which holds
the channels from OrderAction.getCurrentOrder() |
getCurrentOrder, getJDA, getSelectedEntity, getSelectedPosition, moveDown, moveTo, moveUp, reverseOrder, selectPosition, selectPosition, shuffleOrder, sortOrder, swapPosition, swapPositioncomplete, complete, completeAfter, queue, queue, queue, queueAfter, queueAfter, queueAfter, queueAfter, queueAfter, queueAfter, submit, submit, submitAfter, submitAfterpublic ChannelOrderAction(Guild guild, ChannelType type)
guild - The target Guild
of which to order the channels defined by the specified typetype - The ChannelType corresponding
to the generic type of Channel which
defines the type of channel that will be orderedpublic Guild getGuild()
Guild which holds
the channels from OrderAction.getCurrentOrder()Guildpublic ChannelType getChannelType()
ChannelType of
all channels that are ordered by this ChannelOrderActionChannelType