add sleep command roulette

This commit is contained in:
BFlow 2020-04-21 12:33:28 +02:00
parent ede212f879
commit c75bc4a5dc

View file

@ -259,7 +259,7 @@ class Mybot(commands.Cog):
await self.joke(ctx, "omawa_shindeiru.mp3") await self.joke(ctx, "omawa_shindeiru.mp3")
await member.edit(mute=True) await member.edit(mute=True)
with ctx.channel.typing(): with ctx.channel.typing():
await asyncio.sleep(1.7) await asyncio.sleep(3)
await ctx.channel.send("Perdu, tu es mute pendant 60 secondes!") await ctx.channel.send("Perdu, tu es mute pendant 60 secondes!")
else: else:
await self.joke(ctx, "hammer_and_dry.mp3") await self.joke(ctx, "hammer_and_dry.mp3")