add sound command roulette

This commit is contained in:
BFlow 2020-04-21 12:22:46 +02:00
parent 21d235f0ac
commit 4035bf390f

View file

@ -259,12 +259,12 @@ class Mybot(commands.Cog):
await self.joke(ctx, "omawa_shindeiru.mp3")
await member.edit(mute=True)
with ctx.channel.typing():
await asyncio.sleep(0.5)
await asyncio.sleep(1.7)
await ctx.channel.send("Perdu, tu es mute pendant 60 secondes!")
else:
await self.joke(ctx, "hammer_and_dry.mp3")
with ctx.channel.typing():
await asyncio.sleep(0.5)
await asyncio.sleep(1.7)
await ctx.channel.send("Gagné, tu ne seras pas mute!")
return
await asyncio.sleep(mute_time)