Base adapter, the base result of Command#adapter().

Hierarchy (view full)

Properties

Methods

Properties

command: any

Internally stores command data.

Methods

  • Internally used to add a command to the command manager.

    Returns void

  • Defines the function to execute when the command is handled, and automatically adds the command to the command manager.

    Parameters

    • callback: ((interaction) => any)
        • (interaction): any
        • Parameters

          • interaction: any

          Returns any

    Returns void

Generated using TypeDoc