shorten the purge response to 0.5 seconds
This commit is contained in:
parent
763caa4f9b
commit
375bd7ce4b
@ -185,7 +185,7 @@ class ServerUtils(commands.Cog):
|
|||||||
|
|
||||||
await ctx.channel.purge(limit=int(count), check=is_me)
|
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(
|
@commands.slash_command(
|
||||||
guild_ids=None, name="cleanup", description="cleanup bot messages"
|
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:
|
if ctx.author.id != core_utils.my_id:
|
||||||
return
|
return
|
||||||
await ctx.channel.edit(topic=new_channel_topic)
|
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):
|
def setup(bot):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user