correction try 3 song pour roulette

This commit is contained in:
BFlow 2020-04-20 15:37:24 +02:00
parent 3a5285b089
commit 53d7c61841

View file

@ -238,8 +238,7 @@ class Mybot(commands.Cog):
barillet = [False, False, True, False, False] barillet = [False, False, True, False, False]
bullet = random.choice(barillet) bullet = random.choice(barillet)
if bullet == True: if bullet == True:
joke = self.bot.get_command('joke') await self.joke(ctx, "omawa_shindeiru.mp3")
await joke.invoke(ctx, 'omawa_shindeiru.mp3')
await member.edit(mute=True) await member.edit(mute=True)
await ctx.channel.send("Perdu, tu es mute pendant 60 secondes!") await ctx.channel.send("Perdu, tu es mute pendant 60 secondes!")
else: else: