Interface AresApplicationCommandInterface<Interaction>

interface AresApplicationCommandInterface {
    data: AresApplicationCommandBuilder;
    execute: ((interaction) => Awaitable<void>);
}

Type Parameters

  • Interaction extends ContextMenuCommandInteraction | CommandInteraction

Implemented by

Properties

Properties

Defines the data of the application command.

execute: ((interaction) => Awaitable<void>)

Type declaration

    • (interaction): Awaitable<void>
    • Defines the function to execute when the application command is called.

      Parameters

      • interaction: Interaction

      Returns Awaitable<void>

Generated using TypeDoc