@microbs.io/plugin-slack v0.2.1
microbs-plugin-slack
Contents
Usage
Before using the slack plugin you must have its prerequisites.
setup
When running microbs setup [-o], the
slack plugin creates a channel in your Slack Workspace.
rollout
The slack plugin is unaffected by microbs rollout.
destroy
The slack plugin does not yet implement microbs destroy [-k].
You can delete your channel through the standard Slack interfaces such as the
Slack UI.
Prerequisites
Create Slack resources
You must create a Slack workspace
and obtain a bot access token
before using the slack plugin.
Install the plugin
microbs installs this plugin automatically when you install microbs.
To reinstall this plugin, run this command:
microbs plugins install slack
To upgrade this plugin to the latest version, run this command:
microbs plugins update slack
Configuration
This section documents the slack plugin configurations for config.yaml.
Required fields
plugins.slack.api_key
The value of your bot access token.
Example: xoxb-999999999999-999999999999-gxnpd45mZZh76FzLfkpLP7Tj