Coder Social home page Coder Social logo

Share bot functionality about bottery HOT 3 OPEN

rougeth avatar rougeth commented on September 13, 2024
Share bot functionality

from bottery.

Comments (3)

rougeth avatar rougeth commented on September 13, 2024

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

from bottery.

nicoddemus avatar nicoddemus commented on September 13, 2024

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.

from bottery.

rougeth avatar rougeth commented on September 13, 2024

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

from bottery.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.