@radzor/slack-bot
Slack bot for sending messages, Block Kit layouts, file uploads, and slash command responses via the Slack Web API. Supports both Bot tokens and incoming webhooks.
Messagingv0.1.0typescriptpythonServerslackbotmessagingchatnotificationsblock-kitwebhookby Radzor
Install
View source on GitHub →$npx radzor@latest add slack-bot
⚠ Constraints: Requires botToken for API methods (sendMessage, sendBlocks, uploadFile). webhookUrl can replace botToken for simple notifications only. Always verify incoming requests with verifyRequest() using signingSecret.
Inputs
| Name | Type | Default | Description |
|---|---|---|---|
| botToken | string | — | Slack Bot OAuth token (xoxb-...). Required for API methods.SLACK_BOT_TOKEN |
| webhookUrl | string | — | Slack Incoming Webhook URL for simple message delivery. |
| signingSecret | string | — | Slack app signing secret for verifying incoming event payloads.SLACK_BOT_SIGNING_SECRET |
botTokenstring
Slack Bot OAuth token (xoxb-...). Required for API methods.
SLACK_BOT_TOKEN
webhookUrlstring