Do general autocomplete if /cmd doesn't have its own

This commit is contained in:
Paul Gauthier 2024-07-30 16:43:10 -03:00
parent 5d0ba54e07
commit 1677f7ede8
2 changed files with 26 additions and 15 deletions

View file

@ -148,7 +148,7 @@ class Commands:
fun = getattr(self, f"completions_{cmd}", None)
if not fun:
return []
return
return sorted(fun())
def get_commands(self):