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
MRDGH282115mo 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
Teixeira15mo ago
Yeah this is the way I was thinking too, thank you
Want results from more Discord servers?
Add your server