feat(aurora): add autocomplete entry for all
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Successful in 27s
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 40s

This commit is contained in:
Seaswimmer 2024-08-13 16:23:35 -04:00
parent 3d8050d3b9
commit 1a20ae30de
Signed by: cswimr
GPG key ID: 3813315477F26F82

View file

@ -816,6 +816,7 @@ class Aurora(commands.Cog):
for t in types: for t in types:
choices.append(app_commands.Choice(name=current+t, value=current+t)) choices.append(app_commands.Choice(name=current+t, value=current+t))
else: else:
choices.append(app_commands.Choice(name="all", value="all"))
for t in types: for t in types:
if t.startswith(current): if t.startswith(current):
choices.append(app_commands.Choice(name=t, value=t)) choices.append(app_commands.Choice(name=t, value=t))