calculon
calculon copied to clipboard
Library for writing IRC bots in OCaml, a collection of plugins, and a dramatic robotic actor.
if user a sends `!waitfor ` (where `nick` would be a regex), then when anyone matching `nick` joins a message is sent to `a` in private.
- have a list of priviledged users - those can make the bot reload plugins, quit, join, part, etc.
- use `CCHet` to pass options to plugins; allow plugins to add their own CLI options for parsing the options
- listen to messages, and whenever a `youtube` url is found, save it. - `!yt` without args refers to this last url
spawn a given command, communicate using stdin/stdout and a simple Json procotol
- ignore other bots (specify it in config) - implem: high-priority plugin that matches messages from those people to ignore, does nothing, and return `matched`. This bypasses all the other...
- [ ] need some administrative interface for trusted users, to control join/part. - [ ] need separating state for every channel (perhaps have one *instance* of each plugin for...