add sound command roulette
This commit is contained in:
parent
21d235f0ac
commit
4035bf390f
1 changed files with 2 additions and 2 deletions
|
@ -259,12 +259,12 @@ 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(0.5)
|
await asyncio.sleep(1.7)
|
||||||
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")
|
||||||
with ctx.channel.typing():
|
with ctx.channel.typing():
|
||||||
await asyncio.sleep(0.5)
|
await asyncio.sleep(1.7)
|
||||||
await ctx.channel.send("Gagné, tu ne seras pas mute!")
|
await ctx.channel.send("Gagné, tu ne seras pas mute!")
|
||||||
return
|
return
|
||||||
await asyncio.sleep(mute_time)
|
await asyncio.sleep(mute_time)
|
||||||
|
|
Loading…
Reference in a new issue