Coder Social home page Coder Social logo

hubot-team's Introduction

Hubot Team npm version

Create and manage the members of a team using Hubot.

Installation

Add hubot-team to your package.json file:

"dependencies": {
  ...
  "hubot-team": "latest"
}

Add hubot-team to your external-scripts.json:

["hubot-team"]

Run npm install hubot-team

Configuration

Some commands require an admin role to be run (i.e. clear team list). The admins can be specified through the HUBOT_TEAM_ADMIN environment variable, as a comma separated list of usernames.

Commands

hubot create <team_name> team               # create team called <team_name>
hubot (delete|remove) <team_name> team      # delete team called <team_name>
hubot list teams                            # list all existing teams
hubot (<team_name>) team +1                 # add me to the team
hubot (<team_name>) team -1                 # remove me from the team
hubot (<team_name>) team add (me|<user>)    # add me or <user> to team
hubot (<team_name>) team remove (me|<user>) # remove me or <user> from team
hubot (<team_name>) team (list|show)        # list the people in the team
hubot (<team_name>) team (empty|clear)      # clear team list
hubot (<team_name>) team count              # list the current size of the team

All commands that have the <team_name> in parantheses can ommit it. For example:

hubot team +1

would work just fine, adding the current user to the default team. Note: when adding and removing users without the <team_name> label, those users are included in a team that does not show up when running hubot list teams.

Contributing

If you are interested to make hubot-team better, fork this repository, check the list of open issues (old issues list can be found here) for some suggestions to get started, and submit a pull request.

Feel free to add yourself to the CONTRIBUTORS list while submitting a pull request.

License

© 2014 Mihai Cîrlănaru

See LICENSE for more details.

hubot-team's People

Contributors

mihai avatar olivierlacan avatar

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.