Handles autocomplete for a command | Function
Last updated 2 years ago
handleCommandAutocomplete(commands, guildId, defaultCommands)
commands
The map of commands
Map<string,>
Map<string,
>
guildId?
The guild ID
string | null | undefined
defaultCommands?
Whether to only include defaultCommands
Boolean
string[]
Command