ajustement du temps d'écriture de kabot
This commit is contained in:
parent
64d3234cab
commit
0422668097
1 changed files with 3 additions and 3 deletions
|
@ -217,7 +217,7 @@ class Mybot(commands.Cog):
|
||||||
elif piece == "face":
|
elif piece == "face":
|
||||||
result = avec_verbe
|
result = avec_verbe
|
||||||
with ctx.channel.typing():
|
with ctx.channel.typing():
|
||||||
await asyncio.sleep(len(result)/4)
|
await asyncio.sleep(len(result)/6)
|
||||||
await ctx.send(result)
|
await ctx.send(result)
|
||||||
|
|
||||||
@commands.command(help="Toi tu fermes ta gueule! Tu la fermes définitivement")
|
@commands.command(help="Toi tu fermes ta gueule! Tu la fermes définitivement")
|
||||||
|
@ -442,9 +442,9 @@ def main():
|
||||||
response = random.choice(lines).replace(str(bot.user.id), str(message.author.id))
|
response = random.choice(lines).replace(str(bot.user.id), str(message.author.id))
|
||||||
with message.channel.typing():
|
with message.channel.typing():
|
||||||
if "http" in response:
|
if "http" in response:
|
||||||
await asyncio.sleep(len(response) / 5)
|
await asyncio.sleep(len(response) / 8)
|
||||||
else:
|
else:
|
||||||
await asyncio.sleep(len(response) / 4)
|
await asyncio.sleep(len(response) / 6)
|
||||||
await message.channel.send(response)
|
await message.channel.send(response)
|
||||||
await bot.process_commands(message)
|
await bot.process_commands(message)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue