Skip to content

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

License

Notifications You must be signed in to change notification settings

mhelgeson/b9-channels

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NPM
Build Status Coverage Status


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}
    The id or name 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

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published