Difference between revisions of "Ircbot"

From Fixme.ch
Jump to: navigation, search
(Fix RSS: fixed https://github.com/embolalia/willie/commit/fa5f8c6baada45e3b2a533ef6b2a14a82075cb63)
Line 3: Line 3:
 
* FIXMYBOT on Freenode in #fixme and #fixme-ctf
 
* FIXMYBOT on Freenode in #fixme and #fixme-ctf
 
* We're using [https://github.com/embolalia/willie Willie]
 
* We're using [https://github.com/embolalia/willie Willie]
 +
** extras modules https://github.com/embolalia/willie-extras
 
* https://github.com/embolalia/willie/wiki/Commands
 
* https://github.com/embolalia/willie/wiki/Commands
  
Line 11: Line 12:
 
  cd /tmp; git clone git://github.com/embolalia/willie.git
 
  cd /tmp; git clone git://github.com/embolalia/willie.git
 
  cd willie; python setup.py install; rm -fr /tmp/willie
 
  cd willie; python setup.py install; rm -fr /tmp/willie
  pip install feedparser pytz lxml pygeoip praw
+
  pip install feedparser pytz lxml pygeoip praw tweepy
  apt-get install python-enchant
+
  apt-get install python-enchant python-mysqldb
  
 
  su -c 'willie -w' irc-bot #configuration
 
  su -c 'willie -w' irc-bot #configuration

Revision as of 13:04, 22 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 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