From 5fc98e574e8f9a044456d22fe65f8d421bb68b67 Mon Sep 17 00:00:00 2001 From: BaerbelBox Date: Fri, 17 Jun 2022 10:09:28 +0200 Subject: [PATCH] corrected minor mistake in chance to get a duck --- FaustBot/Modules/DuckObserver.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/FaustBot/Modules/DuckObserver.py b/FaustBot/Modules/DuckObserver.py index f240dd2..1a7db73 100644 --- a/FaustBot/Modules/DuckObserver.py +++ b/FaustBot/Modules/DuckObserver.py @@ -77,7 +77,7 @@ class DuckObserver(PrivMsgObserverPrototype, PingObserverPrototype): def update_on_ping(self, data, connection: Connection): if self.active == 0: return - if 1 == randint(1,1): + if 1 == randint(1,11): if self.duck_alive == 0: connection.send_channel("*. *. *. * < *. *. * Quack!") self.duck_alive = 1