home · contact · privacy
Use NOTICE instead of PRIVMSG for bot output.
authorChristian Heller <c.heller@plomlompom.de>
Mon, 18 Jan 2016 01:33:29 +0000 (02:33 +0100)
committerChristian Heller <c.heller@plomlompom.de>
Mon, 18 Jan 2016 01:33:29 +0000 (02:33 +0100)
plomlombot.py

index 6031d50..4ec6646 100755 (executable)
@@ -124,7 +124,7 @@ def lineparser_loop(io, nickname):
                 content = webpage.read().decode(charset)
                 title = str(content).split('<title>')[1].split('</title>')[0]
                 title = html.unescape(title)
-                io.send_line("PRIVMSG " + target + " :page title for url: "
+                io.send_line("NOTICE " + target + " :page title for url: "
                              + title)
 
         sender = ""