GitHub Plugin¶
-
class
sirbot.plugins.github.GithubPlugin(*, verify=None)[source]¶ Handle GitHub webhook. The webhook must be set to
<root_url>/githubin your github account.Register a new event handler with:
GithubPlugin.router.add(handler, event_type)
- Endpoints:
/github: Github webhook.
- Variables:
- router: Instance of
gidgethub.routing.Router. - api: Instance of
gidgethub.aiohttp.GitHubAPI.
- router: Instance of