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

Share bot functionality #103

Open
nicoddemus opened this issue Oct 18, 2017 · 3 comments
Open

Share bot functionality #103

nicoddemus opened this issue Oct 18, 2017 · 3 comments

Comments

@nicoddemus
Copy link
Collaborator

I was thinking, some functionality like talking with Jenkins or GitHub could be shared with others so they can incorporate that functionality into their own bots, similar to how Hubot works. Is this something we would like to have for bottery?

@rougeth
Copy link
Owner

rougeth commented Oct 19, 2017

I've never used Hubot, didn't get the point. @nicoddemus could your provide an example?

@nicoddemus
Copy link
Collaborator Author

Sure.

Hubot is basically a hub, so you can install "scripts" into it that teach new commands. So for example, the bare hubot only understands "hubot hello" and replies with "hey".

But then you install hubot-jenkins and now it understands:

  • hubot jenkins b - builds the job specified by jobNumber. List jobs to get number.
  • hubot jenkins build - builds the specified Jenkins job
  • hubot jenkins build , - builds the specified Jenkins job with parameters as key=value&key2=value2
  • hubot jenkins list - lists Jenkins jobs
  • hubot jenkins describe - Describes the specified Jenkins job
  • hubot jenkins last - Details about the last build for the specified Jenkins job

Or hubot-business-cat, which automatically listens for business jargons and posts memes.

In other words, the "scripts" are like plugins which teach your hubot new commands.

In bottery terms, it would be as if I can install a bottery-jenkins plugin of sorts which would add a bunch of new Patterns to my bot automatically.

I think it would be nice to be able to program reusable "scripts" or "plugins" that we can share in the bottery community.

@rougeth
Copy link
Owner

rougeth commented Oct 20, 2017

That's nice! I think that doing something like Hubot should be easy on Bottery.

@nicoddemus nicoddemus changed the title Share bot functionality? Share bot functionality Oct 20, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants