b9-users
v1.0.0
Published
Track and manage slack team users, for b9.
Downloads
4
Readme
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}
Theid
orname
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