From 96bf856059d57d7e580a66861886b15edb202466 Mon Sep 17 00:00:00 2001 From: BFlow Date: Tue, 28 Apr 2020 21:23:30 +0200 Subject: [PATCH] correction command choice --- kabot/kabot/kabot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)