mirror of
https://github.com/nexy7574/LCC-bot.git
synced 2024-09-20 02:26:32 +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": {
|
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:
|
||||||
|
|
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue