Issue #79, add a 2 hour timeout to event submission.
This commit is contained in:
@@ -154,7 +154,7 @@ class EventView(nextcord.ui.View):
|
|||||||
"""
|
"""
|
||||||
|
|
||||||
def __init__(self, name: str, host_id: int):
|
def __init__(self, name: str, host_id: int):
|
||||||
super().__init__()
|
super().__init__(timeout=60 * 60 * 2) # timeout 2 hours
|
||||||
|
|
||||||
self.name: str = name
|
self.name: str = name
|
||||||
self.host_id: int = host_id
|
self.host_id: int = host_id
|
||||||
|
|||||||
Reference in New Issue
Block a user