add sound command roulette
This commit is contained in:
parent
36f514b856
commit
0ea18049d9
1 changed files with 2 additions and 0 deletions
|
@ -254,6 +254,7 @@ class Mybot(commands.Cog):
|
|||
member = ctx.message.author
|
||||
barillet = [False, False, True, False, False]
|
||||
bullet = random.choice(barillet)
|
||||
await self.joke(ctx, "spinning_and_closed.mp3")
|
||||
if bullet == True:
|
||||
await self.joke(ctx, "omawa_shindeiru.mp3")
|
||||
await member.edit(mute=True)
|
||||
|
@ -261,6 +262,7 @@ class Mybot(commands.Cog):
|
|||
await asyncio.sleep(0.5)
|
||||
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 ctx.channel.send("Gagné, tu ne seras pas mute!")
|
||||
|
|
Loading…
Reference in a new issue