roulette 4eme essai

This commit is contained in:
BFlow 2020-04-17 16:33:34 +02:00
parent f316d08c0e
commit 7d54de95a4

View file

@ -245,7 +245,7 @@ class Mybot(commands.Cog):
await ctx.channel.send("Gagné, tu ne seras pas mute!") await ctx.channel.send("Gagné, tu ne seras pas mute!")
return return
await asyncio.sleep(mute_time) await asyncio.sleep(mute_time)
await member.edit(False) await member.edit(mute=False)
await ctx.channel.send("Tu peux reparler %s!" % member.mention) await ctx.channel.send("Tu peux reparler %s!" % member.mention)
@tasks.loop(seconds=1.5) @tasks.loop(seconds=1.5)