b9-channels
v1.0.0
Published
Track and manage slack team channels, for b9.
Downloads
2
Readme
b9-channels
A b9 slack bot plugin, which provides and maintains an array of team channels.
Methods
b9.channel( key )
Returns a channel object.
key
{String}
Theid
orname
of a channel to find.
Properties
b9.channels
{Array}
A list of channel objects, which the are visible to the bot. https://api.slack.com/types/channel
Listeners
"rtm.start"
Initializes the channels
list.
https://api.slack.com/methods/rtm.start
"channel_created"
Adds a new channel to the the channels
list.
https://api.slack.com/events/channel_created
"channel_rename"
Updates an item in the channels
list.
https://api.slack.com/events/channel_rename
"channel_deleted"
Removes an item from the channels
list.
https://api.slack.com/events/channel_deleted
"channel_archive"
Updates an item in the channels
list.
https://api.slack.com/events/channel_archive
"channel_unarchive"
Updates an item in the channels
list.
https://api.slack.com/events/channel_unarchive