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