@typed-discord/interactions-codegen
    Preparing search index...

    Function createSlashCommandAutocompleteHandler

    • Creates a handler type for a slash command autocomplete.

      Parameters

      • interactionType: TypeNode

        The type of the interaction.

      • options: Option[]

        The options.

      Returns TypeLiteralNode