GitHub Plugin

class sirbot.plugins.github.GithubPlugin(*, verify=None)[source]

Handle GitHub webhook. The webhook must be set to <root_url>/github in your github account.

Register a new event handler with:

GithubPlugin.router.add(handler, event_type)
Endpoints:
  • /github: Github webhook.
Variables: