Skip to content
This repository

Just what the world needs: another IRC bot

comment

latest commit 327c2a7638
Eric Hanchrow authored March 30, 2014
Octocat-spinner-32 bugs Can't repro February 23, 2014
Octocat-spinner-32 .gitignore Ingore moar September 08, 2013
Octocat-spinner-32 .mailmap Add a few entries to .mailmap February 23, 2014
Octocat-spinner-32 AUTHORS Add some entries to AUTHORS April 17, 2013
Octocat-spinner-32 GNUmakefile Fix case of the file name. September 14, 2013
Octocat-spinner-32 README.censor-nasty-words Update the "how to censor" instructions February 06, 2014
Octocat-spinner-32 README.irc-servers *** empty log message *** January 13, 2010
Octocat-spinner-32 README.md Markdown-ify the README. December 07, 2013
Octocat-spinner-32 README.xlate.language-codes Cheat sheet February 06, 2014
Octocat-spinner-32 TODO Idea for incubot September 08, 2013
Octocat-spinner-32 analyze-quotes.rkt Move most tests into test submodules March 03, 2013
Octocat-spinner-32 backfill.rkt Move most tests into test submodules March 03, 2013
Octocat-spinner-32 clearenv.rkt Comment about (get-ffi-obj 'environ #f _pointer) September 28, 2013
Octocat-spinner-32 corpus.rkt comment March 30, 2014
Octocat-spinner-32 el-buggo Note another bug January 23, 2012
Octocat-spinner-32 elis-log-parsing-ideas.rkt Nix run-tests.rkt; instead, we'll use "raco test ." March 03, 2013
Octocat-spinner-32 eval-trouble Transcript demonstrating annoying new behavior March 01, 2011
Octocat-spinner-32 freenode-main.rkt Connect to "chat.freenode.org" instead of "irc.freenode.org" February 06, 2014
Octocat-spinner-32 get-big-log.sh compress! Geez, it's a lot faster this way. March 16, 2012
Octocat-spinner-32 git-version.rkt "#lang scheme" => "#lang racket", since racket 5.1.1 on my EC2 was June 03, 2011
Octocat-spinner-32 http.rkt Move stuff around to clarify ... September 14, 2013
Octocat-spinner-32 incubot-tests.rkt.inc Nix run-tests.rkt; instead, we'll use "raco test ." March 03, 2013
Octocat-spinner-32 incubot.rkt Nix run-tests.rkt; instead, we'll use "raco test ." March 03, 2013
Octocat-spinner-32 info.rkt Omit compilation of files that are not meant to be compiled. August 29, 2011
Octocat-spinner-32 irc-process-line.rkt Spell `MemoServ' correctly March 03, 2014
Octocat-spinner-32 iserver.rkt Move most tests into test submodules March 03, 2013
Octocat-spinner-32 lexer.rkt Move most tests into test submodules March 03, 2013
Octocat-spinner-32 line-structure Log sexps instead of strings. May 31, 2011
Octocat-spinner-32 lobster-skeleton.sql Handy example query December 21, 2013
Octocat-spinner-32 loop.rkt Remove dependency on offby1 package February 21, 2013
Octocat-spinner-32 memory-notes.org Why we pagin' so much?! July 30, 2010
Octocat-spinner-32 quotes Incorporate Karl Fogel's funny "away" messages December 21, 2013
Octocat-spinner-32 quotes.rkt Find the "quotes" file even if our current directory is unusual. September 28, 2013
Octocat-spinner-32 re.rkt Move most tests into test submodules March 03, 2013
Octocat-spinner-32 regenerate-log-word-map.rkt Tweak a bit of a SQL query to fix the bug! February 24, 2013
Octocat-spinner-32 reloadable.rkt reload-module: spew stack trace when the exception is handled April 01, 2012
Octocat-spinner-32 rudybot.conf Upstart config file November 08, 2013
Octocat-spinner-32 sandboxes.rkt Move most tests into test submodules March 03, 2013
Octocat-spinner-32 servers.rkt Move most tests into test submodules March 03, 2013
Octocat-spinner-32 sighting-test.rkt Move most tests into test submodules March 03, 2013
Octocat-spinner-32 sketch.rkt "#lang scheme" => "#lang racket", since racket 5.1.1 on my EC2 was June 03, 2011
Octocat-spinner-32 sounds Goofy cartoon sound-effects. February 06, 2014
Octocat-spinner-32 spelled-out-time.rkt Move most tests into test submodules March 03, 2013
Octocat-spinner-32 timer.rkt Nix run-tests.rkt; instead, we'll use "raco test ." March 03, 2013
Octocat-spinner-32 tinyurl.rkt Handle HTTP failures from tinyurl. August 04, 2013
Octocat-spinner-32 update-sightings.rkt Nix run-tests.rkt; instead, we'll use "raco test ." March 03, 2013
Octocat-spinner-32 userinfo.rkt Move most tests into test submodules March 03, 2013
Octocat-spinner-32 utils.rkt Only catch exn:fail? March 17, 2012
Octocat-spinner-32 utterance.rkt Trying to add a new table that maps words to log entries, but it's March 16, 2012
Octocat-spinner-32 vars.rkt Marginally more-useful defaults December 01, 2013
Octocat-spinner-32 xlate.rkt xlate: specify source language as well as target language. December 23, 2013
Octocat-spinner-32 zdate.rkt Disable zdate tests on OS X September 30, 2013
README.md

If you're just trying the bot out, start it via ./freenode-main.rkt at the shell (simply doing racket freenode-main.rkt will fail mysteriously). If you want it to run continuously, and happen to have upstart available (which in practice means you're running Ubuntu), you can copy rudybot.conf to /etc/init and then # start rudybot.

Getting an error about rackunit not being available? That can be caused by using the racket-textual package instead of racket.

Run the tests like this:

$ raco test -x .

Unfortunately, you'll have to pay attention to the output of raco test, since it will likely exit with 0 status even if some of the tests fail. This is IMHO a misfeature of raco test; the Racket developers seem disinclined to change it (see this bug report).

Some specs:

Something went wrong with that request. Please try again.