autocompleteRun for sub commands

Is it possible to setup a autocompleteRun for specific subcommands similar to how it is done for chatInputRun?
2 Replies
MRDGH2821
MRDGH28212y ago
You will have to either use autocomplete-handler or use conditions in autocompleteRun method inside the subcommand class Additionally there can be only one autocompleteRun method To distinguish, you get interaction.commandName or similar
Teixeira
TeixeiraOP2y ago
Yeah this is the way I was thinking too, thank you
Want results from more Discord servers?
Add your server