From 6ed96d49abf6d798d3be0cb44f0780dbe988eafa Mon Sep 17 00:00:00 2001 From: BFlow Date: Mon, 20 Apr 2020 15:29:38 +0200 Subject: [PATCH] correction song pour roulette --- kabot/kabot/kabot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kabot/kabot/kabot.py b/kabot/kabot/kabot.py index 499c297..6c7ff97 100644 --- a/kabot/kabot/kabot.py +++ b/kabot/kabot/kabot.py @@ -238,7 +238,7 @@ class Mybot(commands.Cog): barillet = [False, False, True, False, False] bullet = random.choice(barillet) if bullet == True: - joke = bot.get_command('joke') + joke = self.bot.get_command('joke') await joke.invok(ctx, 'omawa_shindeiru.mp3') await member.edit(mute=True) await ctx.channel.send("Perdu, tu es mute pendant 60 secondes!")