WIP: Refactor Aurora (3.0.0) #29
1 changed files with 2 additions and 1 deletions
|
@ -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")
|
||||
|
|
Loading…
Reference in a new issue