Type alias AutocompleteCallback

AutocompleteCallback: ((client, interaction) => Awaitable<unknown>)

The callback for the Autocomplete

Type declaration

    • (client, interaction): Awaitable<unknown>
    • Parameters

      • client: Client
      • interaction: AutocompleteInteraction

      Returns Awaitable<unknown>

Generated using TypeDoc