Handling argument autocomplete per command

Would it be possible to handle autocompletes through the Command class itself instead and it will be handled accordingly by the interactionCreate event?
Solution:
Sapphire Framework
Autocomplete | Sapphire
Certain Chat Input Command options can be autocompleted based on what the user has written. There are two ways you can
Jump to solution
5 Replies
Solution
Sawako
Sawako2y ago
Sapphire Framework
Autocomplete | Sapphire
Certain Chat Input Command options can be autocompleted based on what the user has written. There are two ways you can
Alex
Alex2y ago
Sapphire Framework
Autocomplete | Sapphire
Certain Chat Input Command options can be autocompleted based on what the user has written. There are two ways you can
Dolliwyx
DolliwyxOP2y ago
Got it thanks!! Follow-up question: what would be the best one to use for subcommands for autocomplete?
Sawako
Sawako2y ago
in the same way Just check that the interaction comes from that subcommand name
Dolliwyx
DolliwyxOP2y ago
I see, got it thank you!!
Want results from more Discord servers?
Add your server