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(java.lang.String message, java.util.function.Function<MessageMenuInteraction,reactor.core.publisher.Mono<java.lang.Void>> action)
InteractiveMenu
InteractiveMenu. addReactionItem(java.lang.String emojiName, java.util.function.Function<ReactionMenuInteraction,reactor.core.publisher.Mono<java.lang.Void>> action)
InteractiveMenu
InteractiveMenu. closeAfterMessage(boolean closeAfterMessage)
InteractiveMenu
InteractiveMenu. closeAfterReaction(boolean closeAfterReaction)
static InteractiveMenu
InteractiveMenu. create(java.lang.String message)
Creates a new empty InteractiveMenu with a given message that will serve as menu prompt.static InteractiveMenu
InteractiveMenu. 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 InteractiveMenu
InteractiveMenu. 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 InteractiveMenu
InteractiveMenu. 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 InteractiveMenu
InteractiveMenu. 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.InteractiveMenu
InteractiveMenu. deleteMenuOnClose(boolean deleteMenuOnClose)
InteractiveMenu
InteractiveMenu. deleteMenuOnTimeout(boolean deleteMenuOnTimeout)