Skip to content

handicraftsman/particlebot

Repository files navigation

particlebot

An IRC bot in C++

Building

$ mkdir build && cd build
$ meson ..
$ ninja

Configuring

A sample config file:

{
  "servers": {
    "freenode": {
      "host": "irc.freenode.net",
      "nick": "nickname",
      "pass": "password",
      "autojoin": [
        "#a-random-channel"
      ],
      "autoowner": "your_hostname"
    },
  },
  "plugins": [
    "chanop",
    "fun"
  ],
  "lua-plugins": [
    "eval",
    "titler"
  ],
  "prefix": "@"
}

Starting

$ ./particlebot -c /path/to/config.json -l info # all log levels can be seen in `./particlebot --help`