From 75948e055d6d265c49c21e6a89e688af7dd2298e Mon Sep 17 00:00:00 2001 From: esefxdz Date: Mon, 13 Jul 2026 18:48:57 +0300 Subject: [PATCH] another delete code --- cogs/calendar.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cogs/calendar.py b/cogs/calendar.py index a445b70..e50fc06 100644 --- a/cogs/calendar.py +++ b/cogs/calendar.py @@ -134,7 +134,7 @@ class BookButton(discord.ui.View): def __init__(self): super().__init__(timeout=300) - @discord.ui.button(label="Book an Event", style=discord.ButtonStyle.primary, emoji="📅") + @discord.ui.button(label="Book an Event", style=discord.ButtonStyle.primary, emoji="📅", delete_after= 120) async def open_modal(self, interaction: discord.Interaction, _button): await interaction.response.send_modal(BookModal())