Skip to content

Replace /close with \close to avoid Slack interception - #83

Merged
IceRhymers merged 1 commit into
masterfrom
fix/close-command-prefix
Mar 31, 2026
Merged

Replace /close with \close to avoid Slack interception#83
IceRhymers merged 1 commit into
masterfrom
fix/close-command-prefix

Conversation

@IceRhymers

Copy link
Copy Markdown
Owner

Fixes #82

Slack intercepts /close as a native slash command, so the message never reaches the bot. This swaps the default CLAW_CLOSE_COMMANDS prefix from /close to \close.

Changes
claw/core/config.py — default value updated
tests/test_slack_poller.py — all fixtures and message payloads updated to use \close

Test plan
• Full suite passes (302 tests, 0 failures)

Fixes #82 — Slack intercepts /close as a native slash command before it
reaches the bot. Switch the default CLAW_CLOSE_COMMANDS prefix from
/close to \close so the message is delivered normally.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@IceRhymers
IceRhymers merged commit 7855e53 into master Mar 31, 2026
1 check passed
@IceRhymers
IceRhymers deleted the fix/close-command-prefix branch April 3, 2026 14:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Replace /close with \close — Slack intercepts slash commands

1 participant