harmony
harmony copied to clipboard
[Bug] Autocompletition doesn't work corectly
What's the bug?
Unlike <InteractionsClient>.handle, autocomplete doesn't work on subcommands or at least not in the way it should. Handle method uses, pattern matching like cmd subCmd but autocomplete method doesn't.
How do we reproduce it?
- Create a subcommand with autocomplete option inside
- Try to pattern match it (
cmd subCmd) - Bamm! Doesn't work
What versions you're using?
- OS: Windows 11
- Deno: v1.20.3
- Harmony: v2.6.0