Add auto complete for view clan points command.
build_latest / build (push) Successful in 1m30s

This commit is contained in:
2024-12-22 16:51:10 -05:00
parent 6ec2862aed
commit 0419c9dfd6
+1
View File
@@ -215,6 +215,7 @@ class ViewCog(commands.Cog, name="View Commands"):
await interaction.response.send_autocomplete(autofilled_elections[:25]) await interaction.response.send_autocomplete(autofilled_elections[:25])
@event_points.on_autocomplete("quarter_name") @event_points.on_autocomplete("quarter_name")
@clan_points.on_autocomplete("quarter_name")
async def event_points_autocomplete(self, interaction: nextcord.Interaction, quarter_name: str) -> None: async def event_points_autocomplete(self, interaction: nextcord.Interaction, quarter_name: str) -> None:
""" """
Collects all elections that start with the election string. Collects all elections that start with the election string.