Difference between revisions of "Ircbot"

From Fixme.ch
Jump to: navigation, search
(RSS)
(Configuration and Installation)
 
Line 8: Line 8:
 
== Configuration and Installation ==
 
== Configuration and Installation ==
 
* /home/irc-bot/.willie/default.cfg
 
* /home/irc-bot/.willie/default.cfg
* Started in /etc/rc.local
+
* Started in <s>/etc/rc.local</s> /etc/inittab
 
* 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

Latest revision as of 13:48, 28 August 2014

Information

Configuration and Installation

  • /home/irc-bot/.willie/default.cfg
  • Started in /etc/rc.local /etc/inittab
  • 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 tweepy
apt-get install python-enchant python-mysqldb
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 -i 120 #interval in seconds