Skip to content

v0.1.10

Choose a tag to compare

@louisho5 louisho5 released this 14 Mar 16:21

What's Changed

  • Feat: add Slack channel with allowlist for users and channels @rickyelopez
  • Docs: add docs/ folder — move docs and images out of the repo root
  • Fix: update Docker entrypoint

New Features

Picobot now works on Slack! 🎉

Uses Socket Mode — no public HTTP endpoint required. Works behind NAT, on a home server, or anywhere picobot already runs.

One-time setup

./picobot channels login

Choose 3 for Slack, then follow the prompts — it will ask for your App Token, Bot Token, and optional allowlists. The config is updated automatically.

Notes: the picobot channels login command also works for Telegram, Discord & WhatsApp too.

Or edit config.json manually

{
  "channels": {
    "slack": {
      "enabled": true,
      "appToken": "xapp-1-AAAAAAAAAAAAAAAAAAAA",
      "botToken": "xoxb-AAAAAAAAAA-AAAAAAAAAA-AAAAAAAAAAAAAAAAAAAAAA",
      "allowUsers": ["U0123456789"],
      "allowChannels": ["C0123456789"]
    }
  }
}
Field Description
appToken App-Level Token for Socket Mode (xapp-...)
botToken Bot Token for the Web API (xoxb-...)
allowUsers List of Slack user IDs allowed to chat. Empty [] = anyone
allowChannels List of Slack channel IDs allowed. Empty [] = all. DMs ignore this list

How the bot responds:

  • In channels — when @-mentioned

See HOW_TO_START.md for the full step-by-step Slack setup guide.


For Docker

Or set the variables in your .env file when using Docker Compose.


Full Changelog: v0.1.9...v0.1.10

Thanks for all contributors!