From 0ea18049d9b08e5124696e45d651957a5286125d Mon Sep 17 00:00:00 2001 From: BFlow Date: Tue, 21 Apr 2020 12:21:12 +0200 Subject: [PATCH] add sound command roulette --- kabot/kabot/kabot.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/kabot/kabot/kabot.py b/kabot/kabot/kabot.py index 9ac9ef2..1508a0f 100644 --- a/kabot/kabot/kabot.py +++ b/kabot/kabot/kabot.py @@ -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!")