From README:
`logbot` extends `ircbot` to provide an interface to a single IRC channel from PostgreSQL, writing all messages to a `log` table and reading messages to be sent from `outbox` in a specified database. By listening to pg_notify channels, services connected to PostgreSQL can react when new log lines are inserted.
From INSTALL:
* Install `ircbot`. * From the SBCL REPL: (ql:quickload :cl-irc) (ql:quickload :cl-postgres) (ql:quickload :postmodern) * Use V to press `logbot` mkdir -p ~/src/logbot cd ~/src/logbot mkdir .wot cd .wot && wget http://trinque.org/trinque.asc && cd .. v.pl init http://trinque.org/src/logbot v.pl press logbot-genesis logbot-genesis.vpatch ln -s ~/src/logbot/logbot-genesis ~/quicklisp/local-projects/logbot * Create a PostgreSQL database with UTF-8 encoding, then load logbot.sql into that database: psql -f logbot.sql mydb
From USAGE:
(asdf:load-system :logbot) (defvar *bot*) (setf *bot* (logbot:make-logbot "chat.freenode.net" 6667 "nick" "password" "#channel" '("db-name" "db-user" "db-password" "db-host"))) ; connect in separate thread, returning thread (logbot:ircbot-connect-thread *bot*) ; or connect using the current thread ; (logbot:ircbot-connect *bot*)