From 4035bf390fdee55d50f811cc32093feaf2b2d8b2 Mon Sep 17 00:00:00 2001 From: BFlow Date: Tue, 21 Apr 2020 12:22:46 +0200 Subject: [PATCH] add sound command roulette --- kabot/kabot/kabot.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kabot/kabot/kabot.py b/kabot/kabot/kabot.py index 1508a0f..767df0d 100644 --- a/kabot/kabot/kabot.py +++ b/kabot/kabot/kabot.py @@ -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)