mirror of
https://github.com/nichkara/InfinitumBotty.git
synced 2026-06-11 14:41:58 +02:00
minor error correction
This commit is contained in:
@@ -77,7 +77,7 @@ class DuckObserver(PrivMsgObserverPrototype, PingObserverPrototype):
|
|||||||
def update_on_ping(self, data, connection: Connection):
|
def update_on_ping(self, data, connection: Connection):
|
||||||
if self.active == 0:
|
if self.active == 0:
|
||||||
return
|
return
|
||||||
if 1 == randint(1,1):
|
if 1 == randint(1,15):
|
||||||
if self.duck_alive == 0:
|
if self.duck_alive == 0:
|
||||||
connection.send_channel("*. *. *. * <<w°)> *. *. * Quack!")
|
connection.send_channel("*. *. *. * <<w°)> *. *. * Quack!")
|
||||||
self.duck_alive = 1
|
self.duck_alive = 1
|
||||||
|
|||||||
Reference in New Issue
Block a user