From c935afd059f6e39f08e3172e90a5a84fc5f62e43 Mon Sep 17 00:00:00 2001 From: BFlow Date: Fri, 17 Apr 2020 13:58:18 +0200 Subject: [PATCH] Mute 7eme essai --- 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 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: