diff --git a/kabot/kabot/kabot.py b/kabot/kabot/kabot.py index 0b095c4..69c51a5 100644 --- a/kabot/kabot/kabot.py +++ b/kabot/kabot/kabot.py @@ -216,6 +216,9 @@ 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): + await ctx.channel.send("Tu ne vas pas m'avoir si facilement") + return if not member: await ctx.channel.send("Qui veux-tu mute?") return