bofhwits: A Bad Bot
An IRC chat bot, that, among other things, will provide a quoting service to allow logging of stupid and/or amusing things that people say. Hopefully displaying them in some manner somewhere, also.
Fair warning: It's pretty bad and probably won't work for you, but hey, you never know!
It's currently running in synirc's #bofh and logging to bofh.wtf.
I haven't actually tested this, but here is my best guess!
go get github.com/tools/godep
godep get github.com/amauragis/bofhwits
Everything is configured in ./config/bofhwits.yaml
, an example is
provided in the config directory. The bofhwits executable searchs ./config/bofhwits.yaml
specifically
but depending on how you installed it or where you put the config file, you can pass in whatever path
you want.
-c <path>
: A path to the configuration file you want to use (default is ./config/bofhwits.yaml
)-l <path>
: A path to a logfile to write/append to (if no option its provided, the bot will print to stdout)I decided to set up godep. I'm not avery good at using it, but it seemed to work! Small note though, the sqlite package didn't work right with godep because it has some C code in the "code" subdirectory. You might need to copy this in manually if godep doesn't do it for you.
Actual dependency list: here