From 53d7c6184150a124fa2c3801ac654a88742b0797 Mon Sep 17 00:00:00 2001 From: BFlow Date: Mon, 20 Apr 2020 15:37:24 +0200 Subject: [PATCH] correction try 3 song pour roulette --- kabot/kabot/kabot.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/kabot/kabot/kabot.py b/kabot/kabot/kabot.py index eb11fc4..b84a3ff 100644 --- a/kabot/kabot/kabot.py +++ b/kabot/kabot/kabot.py @@ -238,8 +238,7 @@ class Mybot(commands.Cog): barillet = [False, False, True, False, False] bullet = random.choice(barillet) if bullet == True: - joke = self.bot.get_command('joke') - await joke.invoke(ctx, 'omawa_shindeiru.mp3') + await self.joke(ctx, "omawa_shindeiru.mp3") await member.edit(mute=True) await ctx.channel.send("Perdu, tu es mute pendant 60 secondes!") else: