Uses of Interface
dev.sympho.modular_commands.api.command.context.SlashCommandContext
Packages that use SlashCommandContext
Package
Description
Handler interfaces used across the system.
-
Uses of SlashCommandContext in dev.sympho.modular_commands.api.command.handler
Methods in dev.sympho.modular_commands.api.command.handler that return types with arguments of type SlashCommandContextModifier and TypeMethodDescriptionInvocationHandler<? super SlashCommandContext>
SlashHandlers.Impl.invocation()
Returns the value of theinvocation
record component.InvocationHandler<? super SlashCommandContext>
SlashHandlers.invocation()
List<? extends ResultHandler<? super SlashCommandContext>>
SlashHandlers.Impl.result()
Returns the value of theresult
record component.List<? extends ResultHandler<? super SlashCommandContext>>
SlashHandlers.result()
Method parameters in dev.sympho.modular_commands.api.command.handler with type arguments of type SlashCommandContextModifier and TypeMethodDescriptionstatic SlashHandlers
Handlers.slash
(InvocationHandler<? super SlashCommandContext> invocation) Creates a handler set with the given handlers, with support only for slash-based commands, and no result handlers.static SlashHandlers
Handlers.slash
(InvocationHandler<? super SlashCommandContext> invocation, ResultHandler<? super SlashCommandContext>... result) Creates a handler set with the given handlers, with support only for slash-based commands.static SlashHandlers
Handlers.slash
(InvocationHandler<? super SlashCommandContext> invocation, List<? extends ResultHandler<? super SlashCommandContext>> result) Creates a handler set with the given handlers, with support only for slash-based commands.static SlashHandlers
Handlers.slash
(InvocationHandler<? super SlashCommandContext> invocation, List<? extends ResultHandler<? super SlashCommandContext>> result) Creates a handler set with the given handlers, with support only for slash-based commands.Constructor parameters in dev.sympho.modular_commands.api.command.handler with type arguments of type SlashCommandContextModifierConstructorDescriptionImpl
(InvocationHandler<? super SlashCommandContext> invocation, List<? extends ResultHandler<? super SlashCommandContext>> result) Creates an instance of aImpl
record class.Impl
(InvocationHandler<? super SlashCommandContext> invocation, List<? extends ResultHandler<? super SlashCommandContext>> result) Creates an instance of aImpl
record class.