Class MessageCommandExecutor
java.lang.Object
dev.sympho.modular_commands.execute.CommandExecutor
dev.sympho.modular_commands.execute.MessageCommandExecutor
Executor that receives and handles commands through text messages.
- Since:
- 1.0
- Version:
- 1.0
-
Constructor Summary
ConstructorsConstructorDescriptionMessageCommandExecutor(GatewayDiscordClient client, Registry registry, AccessManager accessManager, io.micrometer.core.instrument.MeterRegistry meters, io.micrometer.observation.ObservationRegistry observations, PrefixProvider prefixProvider, AliasProvider aliases) Creates a new instance. -
Method Summary
Methods inherited from class dev.sympho.modular_commands.execute.CommandExecutor
start, stop
-
Constructor Details
-
MessageCommandExecutor
public MessageCommandExecutor(GatewayDiscordClient client, Registry registry, AccessManager accessManager, io.micrometer.core.instrument.MeterRegistry meters, io.micrometer.observation.ObservationRegistry observations, PrefixProvider prefixProvider, AliasProvider aliases) Creates a new instance.- Parameters:
client- The client to receive events from.registry- The registry to use to look up commands.accessManager- The access manager to use for access checks.meters- The meter registry to use.observations- The observation registry to use.prefixProvider- The provider to get prefixes from.aliases- Provides the aliases that should be applied.
-