Type alias AutoCompleteGetValueFunction<T>
AutoCompleteGetValueFunction<T>: ((rawValue,
client,
interaction) => T | null | Promise<T | null>) Type declaration
- (rawValue, client, interaction): T | null | Promise<T | null>
Parameters
- rawValue: string
- client: Client<true>
- interaction: ChatInputCommandInteraction | AutocompleteInteraction
Returns T | null | Promise<T | null>