1.0.0 • Published 8 years ago

b9-users v1.0.0

Weekly downloads
2
License
MIT
Repository
github
Last release
8 years ago

NPM Build Status Coverage Status


b9-users

A b9 slack bot plugin, which provides and maintains an array of team users.

Methods

b9.user( key )

Returns a user object.

  • key {String} The id or name of a user to find.

Properties

b9.users {Array}

A list of user objects, one for every member of the team. https://api.slack.com/types/user

Listeners

"rtm.start"

Initializes the users list. https://api.slack.com/methods/rtm.start

"team_join"

Adds a new user to the users list. https://api.slack.com/events/team_join

"user_change"

Updates an item in the users list. https://api.slack.com/events/user_change

"presence_change"

Updates an item in the users list. https://api.slack.com/events/presence_change

1.0.0

8 years ago