correction song pour roulette

This commit is contained in:
BFlow 2020-04-20 15:29:38 +02:00
parent da46fb88f1
commit 6ed96d49ab

View file

@ -238,7 +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 = bot.get_command('joke') joke = self.bot.get_command('joke')
await joke.invok(ctx, 'omawa_shindeiru.mp3') await joke.invok(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!")