ircb
friendly channel bot
- karma system
- http title parser
- bot master must be identified with services (uses NickServ ACC)
help
See docs and GoDoc and visit ##ircb
on Freenode for help
usage
for upgrade command to function as expected:
- 'makefile' should exist next to 'ircb' executable.
- running 'make' should output new executable 'ircb' or return non-zero error
quick setup:
go get -d -v github.com/aerth/ircb
cd $(go env GOPATH)/src/github.com/aerth/ircb
make
cp default.json config.json
vim config.json
./ircb
authentication
send two private messages to bot: /msg bot !help
and /msg bot $upgrade
the first message from master, ircb will check if user is identified with services
if so, you will be 'authenticated' for 5 minutes
the second command, it will try to fetch newest source code and rebuild and redeploy itself
if fails, should private message master reason
commands
See p.go in ./plugins/ directory for an example plugin
Build the plugin.so, move next to ircb executable, and send $update-plugins
command to ircb