diff --git a/kabot/kabot/kabot.py b/kabot/kabot/kabot.py index 6c7ff97..eb11fc4 100644 --- a/kabot/kabot/kabot.py +++ b/kabot/kabot/kabot.py @@ -239,7 +239,7 @@ class Mybot(commands.Cog): bullet = random.choice(barillet) if bullet == True: joke = self.bot.get_command('joke') - await joke.invok(ctx, 'omawa_shindeiru.mp3') + await joke.invoke(ctx, 'omawa_shindeiru.mp3') await member.edit(mute=True) await ctx.channel.send("Perdu, tu es mute pendant 60 secondes!") else: