Skip to main content
Module

x/harmony/mod.ts>InteractionsClient#autocomplete

An easy to use Discord API Library for Deno.
Go to Latest
method InteractionsClient.prototype.autocomplete
Re-export
import { InteractionsClient } from "https://deno.land/x/harmony@v2.9.0/mod.ts";

Add a handler for autocompletions (for application command options).

Parameters

cmd: string

Command name. Can be *

option: string

Option name. Can be *

Handler callback that is fired when a matching Autocomplete Interaction comes in.