This commit is contained in:
Admin 2020-04-17 13:59:04 +02:00
commit 35a310294a

View file

@ -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: