From cd30d66d72cedbc33ffb0efdc49919cdca671061 Mon Sep 17 00:00:00 2001 From: Admin Date: Wed, 29 Apr 2020 13:18:12 +0200 Subject: [PATCH] Ajout du spoil --- kabot/kabot/kabot.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/kabot/kabot/kabot.py b/kabot/kabot/kabot.py index e7d2742..ee1085a 100644 --- a/kabot/kabot/kabot.py +++ b/kabot/kabot/kabot.py @@ -140,9 +140,10 @@ class Mybot(commands.Cog): with open(path) as file: lines = file.read().splitlines() myline = random.choice(lines) + question, reponse = myline.split(";") try: - response = "%s" % (myline) + response = '''Question ! : %s RĂ©ponse : ||%s||''' % (question, reponse) except: response = "Unknow error, try: !contrepeterie [mot clef]" await ctx.send(response)