fix(aurora): fixed a minor bug with autocomplete
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Successful in 27s
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 39s

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

View file

@ -817,7 +817,8 @@ class Aurora(commands.Cog):
choices.append(app_commands.Choice(name=current+t, value=current+t))
else:
for t in types:
choices.append(app_commands.Choice(name=t, value=t))
if t.startswith(current):
choices.append(app_commands.Choice(name=t, value=t))
return choices[:25]
@app_commands.command(name="resolve")