diff --git a/kabot/kabot/kabot.py b/kabot/kabot/kabot.py index 484ce41..bc444e3 100644 --- a/kabot/kabot/kabot.py +++ b/kabot/kabot/kabot.py @@ -129,7 +129,7 @@ class Mybot(commands.Cog): await ctx.channel.send(choix) @commands.command(help='Faire des choix') - def choice(self, ctx, *words): + async def choice(self, ctx, *words): choices = random.choice(words) await ctx.channel.send(choices)