From fc13187f05a08a3556885d63faa7dcf52eccba6c Mon Sep 17 00:00:00 2001 From: Thorsten S Date: Fri, 3 Jan 2020 22:21:55 +0100 Subject: [PATCH] =?utf8?q?klugschei=C3=9Ferbot=20fixed?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- distbot/plugins/didyouknow.py | 1 + 1 file changed, 1 insertion(+) diff --git a/distbot/plugins/didyouknow.py b/distbot/plugins/didyouknow.py index 5d4f11d..87f85d8 100644 --- a/distbot/plugins/didyouknow.py +++ b/distbot/plugins/didyouknow.py @@ -99,6 +99,7 @@ class DidYouKnow(Worker): def parse_body(self, msg): fact = random.choice(DB) + answer = random.choice(self.answers) return Action(msg="{} {}".format(answer, fact)) -- 2.39.2