Package dev.sympho.modular_commands.execute
package dev.sympho.modular_commands.execute
Runtime system for executing commands defined through the API.
-
ClassDescriptionProvides aliases that apply to message-based commands.BaseCommandExecutor<E extends Event,
CTX extends InstrumentedContext & LazyContext, H extends Handlers, I extends SmartIterator<String>> Base implementation for a command executor.Provides the global base result handler.Executor that receives events and invokes triggered commands as appropriate.Prefix provider that allows prefix overrides per guild while falling back to a default construction-time prefix if no override.A command context that is instrumented for use with metrics and tracing tooling.Utility functions for handling invocations.InvocationValidator<E extends Event>Validator that checks that a command's invocation is appropriate as per the command's defined parameters.A command context whose values (particularly arguments) are lazy-loaded (that is, are not loaded until requested byLazyContext.initialize(ObservationRegistry)andLazyContext.load()).Executor that receives and handles commands through text messages.MessageCommandExecutorBuildercollects parameters and invokes the static factory method:new dev.sympho.modular_commands.execute.MessageCommandExecutor(..).Configuration for metrics instrumentation.Tags used in metrics.The tag that indicates the command ID.The tag that indicates the command type.Object that provides the prefix to consider for commands during event handling.Prefix provider that only uses a static prefix determined at construction time.