nyx Typedoc
    Preparing search index...

    Interface CommandEventArgs<Types>

    Record of arguments for each command event.

    interface CommandEventArgs<Types extends InteractionTypes = InteractionTypes> {
        commandAdd: [command: TopLevelCommand<Types>];
        commandAutocomplete: [
            command: AnyExecutableCommand<Types>,
            interaction: Types["AutocompleteInteraction"],
            meta: Metadata,
        ];
        commandRemove: [command: TopLevelCommand<Types>];
        commandRun: [
            command: AnyExecutableCommand<Types>,
            interaction: CommandExecutableInteraction<Types>,
            meta: Metadata,
        ];
    }

    Type Parameters

    Index
    commandAdd: [command: TopLevelCommand<Types>]
    commandAutocomplete: [
        command: AnyExecutableCommand<Types>,
        interaction: Types["AutocompleteInteraction"],
        meta: Metadata,
    ]
    commandRemove: [command: TopLevelCommand<Types>]
    commandRun: [
        command: AnyExecutableCommand<Types>,
        interaction: CommandExecutableInteraction<Types>,
        meta: Metadata,
    ]