Skip to content
This repository has been archived by the owner on Nov 17, 2017. It is now read-only.

Plugins

Patrick Auernig edited this page Oct 29, 2016 · 1 revision

Plugins

Plugins are a way to add commands and event handlers to Sigma.

An example plugin configuration can be found in sigma/plugins/EXAMPLE

Currently recognized events are:

  • mention
  • message

Writing Plugins

Create a new directory somewhere in sigma/plugins and copy the contents of EXAMPLE into it.

Change the plugin name and category in plugin.yml and add new commands and event handlers.

Create a .py file with the same name for each command and event handler in your plugin directory.

Clone this wiki locally