"Foolproof" instructions to install and run Phenny and phenny-speak on Debian, Ubuntu and derivatives.
Everybody run:
cd ~
wget http://www.blog.tdobson.net/files/phennyspeak.zip
unzip -o phennyspeak.zip
rm phennyspeak.zip
You have just installed the phenny speak module and the bits it messes with. It has put a whole lot of stuff in ~/.phenny
On Ubuntu Hardy
wget http://ftp.uk.debian.org/debian/pool/main/p/phenny/phenny_2~hg16-1_all.deb
sudo dpkg -i phenny*.deb
sudo apt-get install -f
rm phenny*.deb
sudo apt-get install python-xapian -ysudo apt-get install python-xapian phenny -y
su root apt-get install python-xapian phenny -y
In theory, it can run on anything that xapian-python and python 2.4 and it's dependencies are capable of running on.
sensible-editor ~/.phenny/default.py
Change your IRC network, nick, password, channels to join etc. and save it.
sensible-editor ~/.phenny/module/speak.py
Do a Edit | "Find and Replace" in the file and replace "foonickbar" with the nick of your bot. eg. "crazybot"
There are 5 instances that should be replaced.
There are lots of other options like that to ignore the output from some bots but you can go hunting in the code to find those...
Start the bot with
phenny
or perhaps if you are going to run it for an extended period of time run:
nohup phenny 2> ~/.phenny/log.txt &
A list of commands that the bot will respond to can be found on phenny's homepage
Comments
solved. if you encounter
solved.
if you encounter this error, please talk to the bot for a minute or two, once some data has built up, phenny is ready to go...
"killall phenny;phenny"
known issue: "Error loading
known issue:
"Error loading speak: Couldn't detect type of database"
problem relatin to xapian DB
Post new comment