Reset duck_lines to 0 when a duck has spawned
This commit is contained in:
parent
b7e14148bb
commit
c89742a7e7
1 changed files with 1 additions and 0 deletions
|
@ -35,6 +35,7 @@ class Module(ModuleManager.BaseModule):
|
||||||
show_duck = random.SystemRandom().randint(1, 10) == 1
|
show_duck = random.SystemRandom().randint(1, 10) == 1
|
||||||
|
|
||||||
if show_duck:
|
if show_duck:
|
||||||
|
channel.duck_lines = 0
|
||||||
self._trigger_duck(channel)
|
self._trigger_duck(channel)
|
||||||
|
|
||||||
@utils.hook("received.join")
|
@utils.hook("received.join")
|
||||||
|
|
Loading…
Reference in a new issue