An IRC Bot in Lisp Flavored Erlang
LiffyBot is not really a serious endeavor, more of a nod to the stereotypical IRC-bot-as-first-project thing than anything else. To be honest, though, the original impetus was a real use case: #erlang-lisp on IRC needed a bot.
*shrugs*
A quick scan of the github Erlang bot-space indicated that perhaps erlbot was a good starting place. We'll try to make our way through that code, porting it to LFE and, maybe some day, running it in our Freenode channel ;-)
└[∵┌]└[ ∵ ]┘[┐∵]┘
But maybe not.
┗[© ♒ ©]┛ ︵ ┻━┻
- Channel logging.
- Meeting minutes/notes.
- Conversational silliness (Alice).
- Other crazy AI stuff. Because.
This project assumes that you have rebar installed somwhere in your
$PATH
.
This project depends upon the following, which are installed to the
deps
directory of this project when you run make deps
:
Just add it to your rebar.config
deps:
{deps, [
...
{lfebot, ".*", {git, "git@github.com:lfe/lfebot.git", "master"}}
]}.
And then do the usual:
$ rebar get-deps
$ rebar compile
If you'd like to run erl bot in dev mode (running in the foreground, logging
everything to stdout
), do the following (you'll need to compile first):
$ make compile
$ make dev
or
$ made run
If you'd like to daemonize the process:
$ make prod
or
$ make daemon
If you're running in the foregrund, ^C^C
will bring you back to the OS
shell.
If you're running in daemonized mode:
$ make stop
TBD
TBD
TBD