diff --git a/kabot/kabot/kabot.py b/kabot/kabot/kabot.py index 23f1fce..484ce41 100644 --- a/kabot/kabot/kabot.py +++ b/kabot/kabot/kabot.py @@ -128,6 +128,11 @@ class Mybot(commands.Cog): await asyncio.sleep(len(choix) / 4) await ctx.channel.send(choix) + @commands.command(help='Faire des choix') + def choice(self, ctx, *words): + choices = random.choice(words) + await ctx.channel.send(choices) + @commands.command(help="optionnal args : ") async def contrepeterie(self, ctx, *args): response = None