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 InteractiveMenuInteractiveMenu. addMessageItem(String message, Function<MessageMenuInteraction,reactor.core.publisher.Mono<Void>> action)InteractiveMenuInteractiveMenu. addReactionItem(String emojiName, Function<ReactionMenuInteraction,reactor.core.publisher.Mono<Void>> action)InteractiveMenuInteractiveMenu. closeAfterMessage(boolean closeAfterMessage)InteractiveMenuInteractiveMenu. closeAfterReaction(boolean closeAfterReaction)static InteractiveMenuInteractiveMenu. create(String message)Creates a new empty InteractiveMenu with a given message that will serve as menu prompt.static InteractiveMenuInteractiveMenu. create(Consumer<discord4j.core.spec.MessageCreateSpec> spec)Creates a new empty InteractiveMenu with a given message that will serve as menu prompt.static InteractiveMenuInteractiveMenu. 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 InteractiveMenuInteractiveMenu. createAsyncPaginated(AtomicInteger currentPage, PaginationControls controls, IntFunction<reactor.core.publisher.Mono<UniversalMessageSpec>> asyncPaginator)Creates a new InteractiveMenu prefilled with menu items useful for pagination.static InteractiveMenuInteractiveMenu. createPaginated(AtomicInteger currentPage, PaginationControls controls, IntFunction<UniversalMessageSpec> paginator)Creates a new InteractiveMenu prefilled with menu items useful for pagination.InteractiveMenuInteractiveMenu. deleteMenuOnClose(boolean deleteMenuOnClose)InteractiveMenuInteractiveMenu. deleteMenuOnTimeout(boolean deleteMenuOnTimeout)