A CLI tool to react to office presence posts in Slack. Parses a message containing day/emoji pairs and lets you select which days to react with.
-
Install dependencies:
uv sync -
Create a Slack app at https://api.slack.com/apps
-
Add these scopes under User Token Scopes:
reactions:writechannels:history(orgroups:historyfor private channels)
-
Install the app to your workspace
-
Set the User OAuth Token (starts with
xoxp-):export SLACK_USER_TOKEN=xoxp-your-token-here
uv run slackspond.py "https://yourworkspace.slack.com/archives/C1234567890/p1234567890123456"
The tool will:
- Fetch the message
- Parse lines containing a weekday and an emoji (e.g.,
:red_circle: Monday) - Present an interactive selection UI
- Submit the selected reactions
- ↑/↓ - move between options
- Space - toggle selection
- a - select all
- i - invert selection
- Enter - confirm