Difference between revisions of "Ircbot"

From Fixme.ch
Jump to: navigation, search
(Configuration and Installation)
(Configuration and Installation)
Line 7: Line 7:
 
== Configuration and Installation ==
 
== Configuration and Installation ==
 
* /home/irc-bot/.willie/default.cfg
 
* /home/irc-bot/.willie/default.cfg
 +
* Started in /etc/rc.local
 
* Installation (latest version with better rss module)
 
* Installation (latest version with better rss module)
 
  cd /tmp; git clone git://github.com/embolalia/willie.git
 
  cd /tmp; git clone git://github.com/embolalia/willie.git
Line 13: Line 14:
 
  apt-get install python-enchant
 
  apt-get install python-enchant
  
  su -c 'willie -w' irc-bot
+
  su -c 'willie -w' irc-bot #configuration
 +
su -c 'willie --fork' irc-bot #run in background
  
 
== Plugins ==
 
== Plugins ==

Revision as of 17:48, 20 July 2013

Information

Configuration and Installation

  • /home/irc-bot/.willie/default.cfg
  • Started in /etc/rc.local
  • Installation (latest version with better rss module)
cd /tmp; git clone git://github.com/embolalia/willie.git
cd willie; python setup.py install; rm -fr /tmp/willie
pip install feedparser pytz lxml pygeoip praw
apt-get install python-enchant
su -c 'willie -w' irc-bot #configuration
su -c 'willie --fork' irc-bot #run in background

Plugins

RSS

.rss add #channel name http://example.com/rss
.rss del name
.rss list
.startrss