Compare commits
3
Commits
76-clan-points
...
v2.0.1
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
95cfcca600 | ||
|
|
0419c9dfd6 | ||
|
|
6ec2862aed |
@@ -154,7 +154,7 @@ class EventView(nextcord.ui.View):
|
||||
"""
|
||||
|
||||
def __init__(self, name: str, host_id: int):
|
||||
super().__init__()
|
||||
super().__init__(timeout=60 * 60 * 2) # timeout 2 hours
|
||||
|
||||
self.name: str = name
|
||||
self.host_id: int = host_id
|
||||
|
||||
@@ -215,6 +215,7 @@ class ViewCog(commands.Cog, name="View Commands"):
|
||||
await interaction.response.send_autocomplete(autofilled_elections[:25])
|
||||
|
||||
@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:
|
||||
"""
|
||||
Collects all elections that start with the election string.
|
||||
|
||||
Reference in New Issue
Block a user