diff options
author | lassulus <lassulus@googlemail.com> | 2014-03-16 20:10:24 +0100 |
---|---|---|
committer | lassulus <lassulus@googlemail.com> | 2014-03-16 20:10:24 +0100 |
commit | e90b6909dd62e95d58f434a4352ef2163e3f62c6 (patch) | |
tree | 645f0fb914aa96f2a5e5de098eda0941ef2192a9 | |
parent | f21fd0c806da24212b04eeb009222b1ed1c1cea9 (diff) |
newsbos.js: i cant hear you(deaf_myself)
-rw-r--r-- | news/newsbot.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/news/newsbot.js b/news/newsbot.js index 9228e5d4..62609f00 100644 --- a/news/newsbot.js +++ b/news/newsbot.js @@ -73,6 +73,7 @@ function create_feedbot (nick, uri, channels) { } client.once('registered', loop_feedparser) + client.once('registered', deaf_myself) client.on('error', function (error) { console.log('Error:', error) @@ -139,6 +140,9 @@ function create_feedbot (nick, uri, channels) { return setTimeout(loop_feedparser, feedbot_loop_delay) }) } + function deaf_myself () { + client.send('mode', nick, '+D') + } } // return true if text "is talking to" my_nick |