Uses of Interface
com.github.kaktushose.jda.commands.dispatching.expiration.ExpirationStrategy
Package
Description
Root package of JDA-Commands.
-
Uses of ExpirationStrategy in com.github.kaktushose.jda.commands
Modifier and TypeMethodDescription@NotNull JDACommandsBuilder
JDACommandsBuilder.expirationStrategy
(@NotNull ExpirationStrategy expirationStrategy) -
Uses of ExpirationStrategy in com.github.kaktushose.jda.commands.dispatching.expiration
Modifier and TypeClassDescriptionstatic final record
static final record
ExpirationStrategy
that closes aRuntime
after the passed amount of time.Modifier and TypeFieldDescriptionstatic final ExpirationStrategy
ExpirationStrategy.AFTER_15_MINUTES
DefaultExpirationStrategy
ofExpirationStrategy.Inactivity
, that closesRuntimes
after 15 minutes of inactivity.static final ExpirationStrategy
ExpirationStrategy.EXPLICIT
DefaultExpirationStrategy
ofExpirationStrategy.Explicit
.