Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
A lightweight IRC bot framework.
Python
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

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

Something went wrong with that request. Please try again.