Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for webhooks #136

Open
nicoddemus opened this issue Apr 10, 2018 · 2 comments
Open

Support for webhooks #136

nicoddemus opened this issue Apr 10, 2018 · 2 comments

Comments

@nicoddemus
Copy link
Collaborator

It is usually useful for bots to be able to receive webhooks from other systems so they can interact with them, for example GitHub itself.

Some examples:

  • miss-islington is a bot used by CPython which is notified whenever a PR is marked for backporting to a previous branch using a label; it then automatically finds the commits in that PR and cherry-picks them into the backport branch, opening a new PR. It handles a webhook whenever a PR is labeled and acts accordingly.

  • probot is a framework that allows one to write JS bots that handle specific GH events such as new comments, new PRs, etc.

  • err-jenkins is an errbot plugin that provides some jenkins specific commands, and is also notified by Jenkins by a webhook when a job finishes, notifying the user which triggered the job (here is how a webhook is configured in errbot) .

Those are just some of the examples, the possibilities to integrate with external systems are really limitless.

@rougeth
Copy link
Owner

rougeth commented Apr 10, 2018

We already have support for webhooks 🎉 Actually supporting Messenger required webhooks to work. So to implement integration with other platforms that needs webhook should be something *easy* to do.

But, I need to give more thoughts about Bottery as a simple bot (or not a chatbot) framework.

@nicoddemus
Copy link
Collaborator Author

We already have support for webhooks

Oh I must have missed that. Do we have documentation for that?

Also, can my bot implement a webhook, or instead platforms can use webhooks for communication? This issue is related to the former.

But, I need to give more thoughts about Bottery as a simple bot (or not a chatbot) framework.

Yeah, I'm always thinking about using bots for development, not really for chatting, so this suggestion might not be aligned with the vision of the project, sorry about that. 😁

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants