From 4ba8e656ab0857cd63342c0753e9d91b92ba03d0 Mon Sep 17 00:00:00 2001 From: SeaswimmerTheFsh Date: Sat, 15 Jul 2023 23:12:47 -0400 Subject: [PATCH] misc: reduced delay on message.delete in no_button (update) --- pterodactyl/ptero.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pterodactyl/ptero.py b/pterodactyl/ptero.py index 0229a5d..9ec9269 100644 --- a/pterodactyl/ptero.py +++ b/pterodactyl/ptero.py @@ -166,7 +166,7 @@ class Pterodactyl(commands.Cog): @ui.button(label="No", style=discord.ButtonStyle.danger) async def no_button(self, button:ui.Button, interaction:discord.Interaction): message = await self.passed_info['interaction'].edit_original_response(content=f"Command cancelled.", view=None) - await message.delete(delay=5) + await message.delete(delay=3) @app_commands.command() async def test(self, interaction: discord.Interaction, endpoint: str = None):