Interface CommandHandlerConfigurator

All Known Implementing Classes:
CommandHandlerWithPrimitiveTypeParsers, CommandHandlerWithRequireBotOwnerFactory, CommandHandlerWithRequireFailureFactory, CommandHandlerWithRequireGuildOwnerFactory, CommandHandlerWithRequireHierarchyFactory, CommandHandlerWithRequireHiFactory, CommandHandlerWithRequirePermissionFactory, DiscordCommandHandlerWithDiscordTypeParsers
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface CommandHandlerConfigurator
Represents a configurator for the CommandHandler. Intended to be used internally by Oktane and not externally implemented.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    apply​(CommandHandler.Builder<?> commandHandler)
    Applies a configuration to a CommandHandler.Builder.
    default int
    The priority to execute the configurator in, applied in ascending order