From 0a0a83b90ef1fe1da51f05ed78dac6b75318df3e Mon Sep 17 00:00:00 2001 From: BFlow Date: Fri, 10 Apr 2020 17:16:18 +0200 Subject: [PATCH] Kamoulox 2.0 correction --- kabot/kabot/kabot.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/kabot/kabot/kabot.py b/kabot/kabot/kabot.py index f9d5e1a..ada0b1d 100644 --- a/kabot/kabot/kabot.py +++ b/kabot/kabot/kabot.py @@ -209,10 +209,10 @@ class Mybot(commands.Cog): avec_verbe = phrase1 + " et " + phrase2 + "." piece = random.choice(['pile', 'face']) if piece == "pile": - return sans_verbe + result = sans_verbe elif piece == "face": - return avec_verbe - await ctx.send(piece) + result = avec_verbe + await ctx.send(result) @tasks.loop(seconds=1.5) async def play_next(self):