Modum is a modular, asynchronous IRC bot written in python.
gevent below v1.0 depends on libevent, and above depends on libev.
Requirements can be installed with
pip install -r requirements.txt
At the moment I am using a v1.0 version of gevent, if you wish you can install it
beforehand from pypi using
pip install gevent
Modum is configured with
config.json in the
which you should edit with appropriate settings before you start it.
Modum can then be started simply with
You can find other options through
You can add plugins in the obvious
Plugins should extend from the
Plugin object, which provides many
plugins/ascii.py for an example plugin.
To allow for easy initialization, define this method:
def setup(self, settings, botSettings):
Please don't define
__init__, unless you call it on the parent as well.
settings comes from the
plugins section of the configuration file,
botSettings comes from the client section of the configuration file.
Modum by Matthew Iversen is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License. You can ask for permissions beyond the scope of this license by contacting me.
Copyright 2012, Matt Iversen
I would like to thank the following: