A lightweight IRC bot framework.
Python
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
cassium
plugins
save
.gitignore
LICENSE.md
README.md
config.example.py
run.py

README.md

cassium

A lightweight IRC bot framework.

Plugins

Plugins are simple and intuitive to write. They extend the Plugin class and define methods for handling signals. HelloWorld is a good starting point:

from cassium.plugin import Plugin

class HelloWorld(Plugin):
    
    def msg(self, query, response):
        if query.message == '!hello': 
            response.msg("Hello, %s!" % query.nick)

For a more detailed look at the signals and responses available, look into the Log plugin and the documentation for the Response object.

Dependencies