Interface ISlashCommand

Interface for slash commands

Hierarchy

  • ISlashCommand

Properties

Methods

Properties

command: ApplicationCommandData

Details about the slash command

Methods

  • Handler to be executed when the command is invoked.

    Parameters

    • interaction: CommandInteraction<CacheType>

      Interaction sent to the event handler

    Returns void

Generated using TypeDoc