Might not have worked without list cast.

This commit is contained in:
2023-12-22 21:35:52 -05:00
parent 39746123f1
commit deb405f02b
+1 -1
View File
@@ -126,7 +126,7 @@ class ViewCog(commands.Cog, name="View Commands"):
# if empty compare string
if not election_name:
await interaction.response.send_autocomplete(elections[:25])
await interaction.response.send_autocomplete(list(elections)[:25])
return
autofilled_elections: "list[str]" = [