Mute 7eme essai
This commit is contained in:
parent
d6aeafb410
commit
c935afd059
1 changed files with 1 additions and 1 deletions
|
@ -216,7 +216,7 @@ class Mybot(commands.Cog):
|
||||||
|
|
||||||
@commands.command(help="Toi tu fermes ta gueule! Tu la fermes définitivement")
|
@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):
|
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")
|
await ctx.channel.send("Tu ne vas pas m'avoir si facilement")
|
||||||
return
|
return
|
||||||
if not member:
|
if not member:
|
||||||
|
|
Loading…
Reference in a new issue