Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Just what the world needs: another IRC bot
Scheme Racket Other
Failed to load latest commit information.
bugs Can't repro
.gitignore Ingore moar
.mailmap Add a few entries to .mailmap
AUTHORS Add some entries to AUTHORS
GNUmakefile Fix case of the file name.
README.censor-nasty-words Update the "how to censor" instructions
README.irc-servers *** empty log message ***
README.md Markdown-ify the README.
README.xlate.language-codes Cheat sheet
TODO Idea for incubot
analyze-quotes.rkt Move most tests into test submodules
backfill.rkt Move most tests into test submodules
clearenv.rkt Comment about (get-ffi-obj 'environ #f _pointer)
corpus.rkt Allow the tests to pass again by undoing most of
el-buggo Note another bug
elis-log-parsing-ideas.rkt Nix run-tests.rkt; instead, we'll use "raco test ."
eval-trouble Transcript demonstrating annoying new behavior
freenode-main.rkt Connect to "chat.freenode.org" instead of "irc.freenode.org"
get-big-log.sh compress! Geez, it's a lot faster this way.
git-version.rkt "#lang scheme" => "#lang racket", since racket 5.1.1 on my EC2 was
http.rkt Switch to my eensy.teensy.info url-shortener
incubot-tests.rkt.inc Nix run-tests.rkt; instead, we'll use "raco test ."
incubot.rkt Nix run-tests.rkt; instead, we'll use "raco test ."
info.rkt
irc-process-line.rkt New "where's" command
iserver.rkt Move most tests into test submodules
lexer.rkt Move most tests into test submodules
line-structure Log sexps instead of strings.
lobster-skeleton.sql Handy example query
loop.rkt Remove dependency on offby1 package
memory-notes.org Why we pagin' so much?!
quotes New one from twb
quotes.rkt Find the "quotes" file even if our current directory is unusual.
re.rkt Move most tests into test submodules
regenerate-log-word-map.rkt Tweak a bit of a SQL query to fix the bug!
reloadable.rkt reload-module: spew stack trace when the exception is handled
rudybot.conf Make the upstart init file conform to reality
sandboxes.rkt Move most tests into test submodules
servers.rkt Move most tests into test submodules
sighting-test.rkt Move most tests into test submodules
sketch.rkt "#lang scheme" => "#lang racket", since racket 5.1.1 on my EC2 was
sounds Goofy cartoon sound-effects.
spelled-out-time.rkt Whitespace tweaks
tinyurl.rkt Nix stray slashes from the URL
update-sightings.rkt Nix run-tests.rkt; instead, we'll use "raco test ."
userinfo.rkt Move most tests into test submodules
utils.rkt Only catch exn:fail?
utterance.rkt Trying to add a new table that maps words to log entries, but it's
vars.rkt Marginally more-useful defaults
xlate.rkt xlate: specify source language as well as target language.
zdate.rkt Delete broken test revealed by previous commit

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.