Adapter for handling Discord API command interactions.

Hierarchy (view full)

Properties

Methods

Properties

command: any

Internally stores command data.

Methods

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

    Parameters

    • callback: ((interaction) => any)

    Returns void

Generated using TypeDoc