From: Thorsten S Date: Fri, 3 Jan 2020 21:21:55 +0000 (+0100) Subject: klugscheißerbot fixed X-Git-Url: https://git.aero2k.de/?a=commitdiff_plain;h=fc13187f05a08a3556885d63faa7dcf52eccba6c;p=urlbot-v3.git klugscheißerbot fixed --- 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))