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