This commit is contained in:
nexy7574 2023-05-16 17:13:15 +01:00
parent 06e42820b3
commit c8d11c0f5a
2 changed files with 5 additions and 2 deletions

View file

@ -468,7 +468,7 @@ class Events(commands.Cog):
}, },
r"c(mon|ome on) jimmy": { r"c(mon|ome on) jimmy": {
"content": "IM TRYING" "content": "IM TRYING"
} },
} }
# Stop responding to any bots # Stop responding to any bots
if message.author.bot is True: if message.author.bot is True:

View file

@ -1085,8 +1085,11 @@ class OtherCog(commands.Cog):
await ctx.edit(embed=embed) await ctx.edit(embed=embed)
await ctx.channel.trigger_typing() await ctx.channel.trigger_typing()
embed.description = _desc embed.description = _desc
start = time.time()
await ctx.edit(embed=embed, files=files) await ctx.edit(embed=embed, files=files)
await ctx.send() end = time.time()
if (end - start) < 10:
await ctx.respond("*clearing typing*", delete_after=0.01)
async def bgtask(): async def bgtask():
await asyncio.sleep(120.0) await asyncio.sleep(120.0)