@paintless/dest-slack
v0.1.0
Published
Paintless destination adapter that posts structured Block Kit messages to Slack
Maintainers
Readme
@paintless/dest-slack
Destination adapter for Slack: a Block Kit message, by bot token or incoming webhook.
import { slack } from '@paintless/dest-slack'
destinations: [slack({ channel: '#product-feedback' })],
routes: [{ when: { env: 'prod' }, deliver: ['slack'] }],SLACK_BOT_TOKEN is read from the environment when token is omitted, and
slack({ webhookUrl }) posts through an incoming webhook instead. The message is
composed as Block Kit rather than reusing the markdown ticket body.
Part of Paintless — click an element in a running app, describe the change, let an agent make it. Docs: https://kyechan99.github.io/paintless/
MIT © kyechan99
