home · contact · privacy
Use NOTICE instead of PRIVMSG for bot output.
[plomlombot-irc.git] / plomlombot.py
index 6031d50b3167eb62dfbe16865e1c8278efa44e41..4ec66463566a8205a6d89e7c9baa0a85569742d5 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 = ""