shorten the purge response to 0.5 seconds

This commit is contained in:
Luke Robles 2024-05-31 10:36:36 -07:00
parent 763caa4f9b
commit 375bd7ce4b

View File

@ -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):