S-IAF
Join ServerSapphire - Imagine a framework
sapphire-support
Handling argument autocomplete per command
DDolliwyx12/23/2022
Would it be possible to handle autocompletes through the Command class itself instead and it will be handled accordingly by the
interactionCreate
event?Solution
DDolliwyx12/23/2022
Got it thanks!!
DDolliwyx12/23/2022
Follow-up question: what would be the best one to use for subcommands for autocomplete?
Ssawako12/23/2022
in the same way
Ssawako12/23/2022
Just check that the interaction comes from that subcommand name
DDolliwyx12/24/2022
I see, got it thank you!!