From c05cffc121651d8e0603b9bb7e5094718b2bd8cf Mon Sep 17 00:00:00 2001 From: Yuki Joou Date: Sun, 26 Feb 2023 03:20:03 +0100 Subject: [PATCH] interaction_views: Added timeout for marriage confirmation --- interaction_views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/interaction_views.py b/interaction_views.py index cad0a6e..67ec804 100644 --- a/interaction_views.py +++ b/interaction_views.py @@ -50,7 +50,7 @@ class ConfirmationView(discord.ui.View): class MariageConfirmationView(ConfirmationView): def __init__(self, target: discord.Member): - super().__init__(timeout=None) + super().__init__(timeout=15*60) # 15 minues timeout self.target = target def _user_can_respond(self, user: discord.User | discord.Member):