Slackbot Agent CLI
Manage and run Slack bots from the command line.Commands
Start Bot
Configure Bot
Test Bot
Options
| Option | Type | Default | Description |
|---|---|---|---|
--bot-token | string | env | Slack bot token |
--signing-secret | string | env | Signing secret |
--app-token | string | env | App token for socket mode |
--socket-mode | boolean | false | Enable socket mode |
--port | number | 3000 | HTTP server port |
--instructions | string | - | Agent instructions |
--model | string | gpt-4o | Model to use |
Environment Variables
| Variable | Required | Description |
|---|---|---|
SLACK_BOT_TOKEN | Yes | Bot token (xoxb-…) |
SLACK_SIGNING_SECRET | Webhook | Signing secret |
SLACK_APP_TOKEN | Socket | App token (xapp-…) |
OPENAI_API_KEY | Yes | For the agent |
Examples
Development Mode
Production Mode
Related Commands
praisonai-ts slack logs- View bot logspraisonai-ts slack stats- View usage statistics

