Changes

Jump to: navigation, search

Ircbot

662 bytes added, 15:56, 20 July 2013
/* Configuration and Installation */
su -c 'willie -w' irc-bot
* Patch rss to show the link of the article
<pre>
--- /tmp/willie/willie/modules/rss.py 2013-07-20 17:43:43.570496043 +0200
+++ /usr/local/lib/python2.7/dist-packages/willie/modules/rss.py 2013-07-20 17:54:07.144679013 +0200
@@ -348,8 +348,8 @@
continue
# print new entry
- message = u"[\x02{0}\x02] \x02{1}\x02 {2}".format(
- colour_text(feed_name, fg, bg), entry.title, entry.link)
+ message = u"[\x02{0}\x02] \x02{1}\x02 {2} {3}".format(
+ colour_text(feed_name, fg, bg, article_url), entry.title, entry.link)
if entry.updated:
message += " - " + entry.updated
bot.msg(feed_channel, message)
</pre>
== Plugins ==
ControlGroup, administrator
4,237
edits