From 95cfcca600c9278c69137c3ba998142edfdf1eb6 Mon Sep 17 00:00:00 2001 From: imcompiling Date: Sun, 22 Dec 2024 17:11:54 -0500 Subject: [PATCH] Issue #79, add a 2 hour timeout to event submission. --- cogs/commands/record.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cogs/commands/record.py b/cogs/commands/record.py index 069fb13..ed1fbfc 100644 --- a/cogs/commands/record.py +++ b/cogs/commands/record.py @@ -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