From 375bd7ce4b9054fc9cb04ce7f7e47f32fd124736 Mon Sep 17 00:00:00 2001 From: Luke Robles Date: Fri, 31 May 2024 10:36:36 -0700 Subject: [PATCH] shorten the purge response to 0.5 seconds --- app/cogs/server_utils.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/cogs/server_utils.py b/app/cogs/server_utils.py index c167b8bf..104ae227 100755 --- a/app/cogs/server_utils.py +++ b/app/cogs/server_utils.py @@ -185,7 +185,7 @@ class ServerUtils(commands.Cog): await ctx.channel.purge(limit=int(count), check=is_me) - await ctx.respond("ok", delete_after=1) + await ctx.respond("ok", delete_after=0.5) @commands.slash_command( guild_ids=None, name="cleanup", description="cleanup bot messages" @@ -265,7 +265,7 @@ class ServerUtils(commands.Cog): if ctx.author.id != core_utils.my_id: return await ctx.channel.edit(topic=new_channel_topic) - await ctx.respond("ok", delete_after=1) + await ctx.respond("ok", delete_after=0.5) def setup(bot):