Uses of Class
com.github.alex1304.ultimategdbot.api.utils.menu.InteractiveMenu
Package | Description |
---|---|
com.github.alex1304.ultimategdbot.api.utils.menu |
-
Uses of InteractiveMenu in com.github.alex1304.ultimategdbot.api.utils.menu
Methods in com.github.alex1304.ultimategdbot.api.utils.menu that return InteractiveMenu Modifier and Type Method Description InteractiveMenu
InteractiveMenu. addMessageItem(String message, Function<MessageMenuInteraction,reactor.core.publisher.Mono<Void>> action)
InteractiveMenu
InteractiveMenu. addReactionItem(String emojiName, Function<ReactionMenuInteraction,reactor.core.publisher.Mono<Void>> action)
InteractiveMenu
InteractiveMenu. closeAfterMessage(boolean closeAfterMessage)
InteractiveMenu
InteractiveMenu. closeAfterReaction(boolean closeAfterReaction)
static InteractiveMenu
InteractiveMenu. create(String message)
Creates a new empty InteractiveMenu with a given message that will serve as menu prompt.static InteractiveMenu
InteractiveMenu. create(Consumer<discord4j.core.spec.MessageCreateSpec> spec)
Creates a new empty InteractiveMenu with a given message that will serve as menu prompt.static InteractiveMenu
InteractiveMenu. create(reactor.core.publisher.Mono<Consumer<discord4j.core.spec.MessageCreateSpec>> specMono)
Creates a new empty InteractiveMenu with a given message that will serve as menu prompt.static InteractiveMenu
InteractiveMenu. createAsyncPaginated(AtomicInteger currentPage, PaginationControls controls, IntFunction<reactor.core.publisher.Mono<UniversalMessageSpec>> asyncPaginator)
Creates a new InteractiveMenu prefilled with menu items useful for pagination.static InteractiveMenu
InteractiveMenu. createPaginated(AtomicInteger currentPage, PaginationControls controls, IntFunction<UniversalMessageSpec> paginator)
Creates a new InteractiveMenu prefilled with menu items useful for pagination.InteractiveMenu
InteractiveMenu. deleteMenuOnClose(boolean deleteMenuOnClose)
InteractiveMenu
InteractiveMenu. deleteMenuOnTimeout(boolean deleteMenuOnTimeout)