Class ModuleSelectMenuHandler

Hierarchy

  • ModuleBaseHandler
    • ModuleSelectMenuHandler

Constructors

Properties

execute: GenericSelectMenuExecuteFunction
type: string = ...

Methods

  • Checks if this handler is an unconfigured handler.

    Returns this is ModuleBaseHandler

    Whether this handler is an unconfigured handler.

  • Sets the execute function for this handler.

    Parameters

    • execute: GenericSelectMenuExecuteFunction

      The execute function.

    Returns this

    This instance for chaining.

  • Validates the handler, ensuring the execute function is set.

    Returns boolean

    Whether the handler is valid.