mirror of
https://github.com/nexy7574/LCC-bot.git
synced 2024-09-19 18:16:34 +01:00
Update sherlock command
This commit is contained in:
parent
de09a13d7d
commit
e519ae6506
1 changed files with 2 additions and 2 deletions
|
@ -1541,8 +1541,8 @@ class OtherCog(commands.Cog):
|
||||||
async def background_task():
|
async def background_task():
|
||||||
# Every 5 seconds update the embed to show that the command is still running
|
# Every 5 seconds update the embed to show that the command is still running
|
||||||
while True:
|
while True:
|
||||||
await asyncio.sleep(5)
|
await asyncio.sleep(random.randint(1, 10))
|
||||||
elapsed = start_time - time()
|
elapsed = time() - start_time
|
||||||
await ctx.edit(
|
await ctx.edit(
|
||||||
embed=discord.Embed(
|
embed=discord.Embed(
|
||||||
title="Sherlocking username...",
|
title="Sherlocking username...",
|
||||||
|
|
Loading…
Reference in a new issue