From da46fb88f1d4217167a59401370947bcc4eaf70b Mon Sep 17 00:00:00 2001 From: BFlow Date: Mon, 20 Apr 2020 15:27:30 +0200 Subject: [PATCH] ajout song pour roulette --- kabot/kabot/kabot.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/kabot/kabot/kabot.py b/kabot/kabot/kabot.py index c659011..499c297 100644 --- a/kabot/kabot/kabot.py +++ b/kabot/kabot/kabot.py @@ -238,6 +238,8 @@ class Mybot(commands.Cog): barillet = [False, False, True, False, False] bullet = random.choice(barillet) if bullet == True: + joke = bot.get_command('joke') + await joke.invok(ctx, 'omawa_shindeiru.mp3') await member.edit(mute=True) await ctx.channel.send("Perdu, tu es mute pendant 60 secondes!") else: @@ -263,14 +265,14 @@ class Mybot(commands.Cog): @commands.command(help= "randomsur l'avenir des gens.") async def avenir(self, ctx): - + list_mot = ("tu seras curé, tu t'occuperas plus spécialement du catéchisme. ", "tu seras animateur de soirées pour les gays pride. ", "tu seras gynecologue dans une maison de retraite.", "tu iras vivre en thaïland à cause de ton job. car tu seras ladyboy dans un bar.", "tu sera DSI chez jacky et Michel", "tu seras arroseur de plante aquatique.") - choix = random.choice(list_mot) + choix = random.choice(list_mot) await ctx.channel.send(choix)