roulette 2eme essai

This commit is contained in:
BFlow 2020-04-17 16:27:41 +02:00
parent a240302e70
commit 83837c62da

View file

@ -236,7 +236,7 @@ class Mybot(commands.Cog):
async def roulette(self, ctx): async def roulette(self, ctx):
mute_time = 60 mute_time = 60
member = ctx.message.author member = ctx.message.author
barillet = [False, False, True, False, False, False] barillet = [False, False, True, False, False]
bullet = random.choice(barillet) bullet = random.choice(barillet)
if bullet == True: if bullet == True:
await member.edit(mute=True) await member.edit(mute=True)