WIP: Refactor Aurora (3.0.0) #29

Draft
cswimr wants to merge 347 commits from aurora-pydantic into main
Showing only changes of commit 3d8050d3b9 - Show all commits

View file

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