Skip to content

Commit 2292e54

Browse files
committed
BUGFIX:
- autocomplete for instances did not work anymore
1 parent 2564cbd commit 2292e54

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/utils/discord.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1070,7 +1070,7 @@ async def autocomplete(self, interaction: discord.Interaction, current: str) ->
10701070
if instance not in node.instances
10711071
]
10721072
else:
1073-
instances = [node.instances.keys()]
1073+
instances = list(node.instances.keys())
10741074
return [
10751075
app_commands.Choice(name=x, value=x)
10761076
for x in instances

0 commit comments

Comments
 (0)