handleCommandAutocomplete

Handles autocomplete for a command | Function

handleCommandAutocomplete(commands, guildId, defaultCommands)
Parameter
Description
Type

commands

The map of commands

Map<string,Command>

guildId?

The guild ID

string | null | undefined

defaultCommands?

Whether to only include defaultCommands

Boolean

Returns

string[]

Last updated