ircb

command
v0.0.0-...-4c4d260 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 25, 2018 License: BSD-3-Clause, MIT, BSD-3-Clause, + 1 more Imports: 9 Imported by: 0

README

ircb

Build Status

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

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL