nvm i ll take care of it later
This commit is contained in:
1 parent
75948e055d
commit
1286168f98
1 file changed
+1
-1
+1
-1
@@ -134,7 +134,7 @@ class BookButton(discord.ui.View):
|
|||||||
def __init__(self):
|
def __init__(self):
|
||||||
super().__init__(timeout=300)
|
super().__init__(timeout=300)
|
||||||
|
|
||||||
@discord.ui.button(label="Book an Event", style=discord.ButtonStyle.primary, emoji="📅", delete_after= 120)
|
@discord.ui.button(label="Book an Event", style=discord.ButtonStyle.primary, emoji="📅")
|
||||||
async def open_modal(self, interaction: discord.Interaction, _button):
|
async def open_modal(self, interaction: discord.Interaction, _button):
|
||||||
await interaction.response.send_modal(BookModal())
|
await interaction.response.send_modal(BookModal())
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user