aboutsummaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorGravatar dngfx2018-09-01 02:21:57 +0100
committerGravatar dngfx2018-09-01 02:21:57 +0100
commite5d298af60171151d3844bdff5208eb4830947ac (patch)
treebf62ce84e31196fa76f3e7c10940259a2f6c769d /modules
parentSet a timer for sending out ducks randomly, and change some messages to stdout. (diff)
signature
Fix this back to channel.send_message(), stdout just no.
Diffstat (limited to 'modules')
-rw-r--r--modules/ducks.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/ducks.py b/modules/ducks.py
index 3fe00c17..7e1dba33 100644
--- a/modules/ducks.py
+++ b/modules/ducks.py
@@ -264,7 +264,7 @@ class Module(object):
"・ ゜・。 ​ 。・゜゜ \​_ó< beep beep!"
]
- event["stdout"].write(random.choice(ducks))
+ channel.send_message(random.choice(ducks))
channel.set_setting("active-duck", 1)