Mute 2er essai

This commit is contained in:
BFlow 2020-04-17 12:39:53 +02:00
parent c357efd459
commit a598e7dfaa

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(ctx, member: discord.Member=None, mute_time = 10): async def mute(self, ctx, 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