AndrioCelos / CBot

My pet IRC robot
MIT License
1 stars 0 forks source link
irc irc-bot irc-bot-framework ircv3

CBot

Known as VBot before The Great Rewrite, this is my pet IRC bot framework. It runs on the .NET framework. This is the framework that my helper bot, Angelina, runs on. It is by no means complete.

Built in is:

Support for user identification has been demoted to a plugin (Identify).

Of course, it can load different plugins to do much more.

Changelogs can be found in the individual project folders.

Confguration files

There are three:

Plus those used by the plugins themselves, of course. To load a plugin after the setup procedure, add the following to the dictionary in plugins.json:

    "Key": {
        "Filename": "Plugins/plugin.dll",
        "Channels": [ "irc.example.net/#lobby", "#bots" ]
    }

The Key is what you type in commands to refer to the plugin instance. Note that you can have multiple instances of the same plugin. The channels are a list of channels for which this plugin receives events, and is also the list of channels that SayToAllChannels() methods use (excluding wildcards). It can include wildcards like */#bots, *, irc.home.net/* The network can be an address (which must match that in the main configuration file), a network name, or omitted to refer to the named channel on any network.

Note that, with Plugin Manager loaded, you can run the following command to load a plugin: !loadplugin <key> [filename] To set its channels: !pluginchans <key> <channels>, where <channels> is in the same format as in the INI file.

Important commands from plugins

IRC channel

#andrio on irc.esper.net

Use an IRC client (ircs://irc.esper.net/#andrio) or webchat