mirror of
https://github.com/nexy7574/LCC-bot.git
synced 2024-09-19 18:16:34 +01:00
Fix err
This commit is contained in:
parent
06e42820b3
commit
c8d11c0f5a
2 changed files with 5 additions and 2 deletions
|
@ -468,7 +468,7 @@ class Events(commands.Cog):
|
|||
},
|
||||
r"c(mon|ome on) jimmy": {
|
||||
"content": "IM TRYING"
|
||||
}
|
||||
},
|
||||
}
|
||||
# Stop responding to any bots
|
||||
if message.author.bot is True:
|
||||
|
|
|
@ -1085,8 +1085,11 @@ class OtherCog(commands.Cog):
|
|||
await ctx.edit(embed=embed)
|
||||
await ctx.channel.trigger_typing()
|
||||
embed.description = _desc
|
||||
start = time.time()
|
||||
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():
|
||||
await asyncio.sleep(120.0)
|
||||
|
|
Loading…
Reference in a new issue