diff --git a/kabot/kabot/kabot.py b/kabot/kabot/kabot.py index 69c51a5..add2975 100644 --- a/kabot/kabot/kabot.py +++ b/kabot/kabot/kabot.py @@ -216,7 +216,7 @@ class Mybot(commands.Cog): @commands.command(help="Toi tu fermes ta gueule! Tu la fermes définitivement") async def mute(self, ctx, member: discord.Member=None, mute_time = 10): - if member.voice.mute(True): + if member.voice.mute: await ctx.channel.send("Tu ne vas pas m'avoir si facilement") return if not member: