HuskyBot: Difference between revisions
Jump to navigation
Jump to search
(New page: HuskyBot is our adorably stupid IRC bot. He is based upon the abandoned [http://www.infobot.org/ Infobot] codebase, although he has some rather extensive mods at this point. His code is a...) |
mNo edit summary |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
HuskyBot is our adorably stupid IRC bot. He is based upon the abandoned [http://www.infobot.org/ Infobot] codebase, although he has some rather extensive mods at this point. |
HuskyBot is our adorably stupid IRC bot. He is based upon the abandoned [http://www.infobot.org/ Infobot] codebase, although he has some rather extensive mods at this point. |
||
= Commands = |
|||
⚫ | |||
* skippy |
|||
* bruceschneier |
|||
* chucknorris |
|||
* excuse |
|||
= HuskyBot's brain = |
|||
⚫ | |||
git://sekhmet.lug.mtu.edu/~nuxi/huskybot.git |
git://sekhmet.lug.mtu.edu/~nuxi/huskybot.git |
||
Line 22: | Line 31: | ||
Note: dumping/importing the database should be done while the bot is stopped! |
Note: dumping/importing the database should be done while the bot is stopped! |
||
Also note that the native format of the -is and -are files are not portable, particularly with respect to endianness. When moving HuskyBot to a new machine, save yourself some sanity and use dump_db / update_db. |
Latest revision as of 13:24, 19 December 2010
HuskyBot is our adorably stupid IRC bot. He is based upon the abandoned Infobot codebase, although he has some rather extensive mods at this point.
Commands
- skippy
- bruceschneier
- chucknorris
- excuse
HuskyBot's brain
His code is available through the git repository that NUXI made (converted from techieb0y's original svn repo):
git://sekhmet.lug.mtu.edu/~nuxi/huskybot.git
Setup instructions:
- Edit conf/infobot.conf to change the nick/server/channels
- Edit conf/infobot.user to add admin rights for yourself (see conf/infobot.users-dist for examples)
- Import the databases:
scripts/update_db files/HuskyBot-are.txt files/HuskyBot-are scripts/update_db files/HuskyBot-ignore.txt files/HuskyBot-ignore scripts/update_db files/HuskyBot-is.txt files/HuskyBot-is scripts/update_db files/HuskyBot-karma.txt files/HuskyBot-karma scripts/update_db files/HuskyBot-seen.txt files/HuskyBot-seen
Dumping the databases is similar (but please keep these out of any patches you submit)
scripts/dump_db files/HuskyBot-are > files/HuskyBot-are.txt scripts/dump_db files/HuskyBot-ignore > files/HuskyBot-ignore.txt scripts/dump_db files/HuskyBot-is > files/HuskyBot-is.txt scripts/dump_db files/HuskyBot-karma > files/HuskyBot-karma.txt scripts/dump_db files/HuskyBot-seen > files/HuskyBot-seen.txt
Note: dumping/importing the database should be done while the bot is stopped!
Also note that the native format of the -is and -are files are not portable, particularly with respect to endianness. When moving HuskyBot to a new machine, save yourself some sanity and use dump_db / update_db.