Mute 3er essai

This commit is contained in:
BFlow 2020-04-17 12:41:56 +02:00
parent a598e7dfaa
commit 1ba79e3172

View file

@ -215,7 +215,7 @@ class Mybot(commands.Cog):
await ctx.send(result) await ctx.send(result)
@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=None, mute_time = 10): async def mute(self, ctx, member: discord.Member=None, mute_time = 10):
if not member: if not member:
await ctx.channel.send("Qui veux-tu mute?") await ctx.channel.send("Qui veux-tu mute?")
return return