Skip to content

Comments

feat(slack): add slash command support#29

Merged
hrygo merged 3 commits intomainfrom
feat/slack-slash-commands-v2
Feb 24, 2026
Merged

feat(slack): add slash command support#29
hrygo merged 3 commits intomainfrom
feat/slack-slash-commands-v2

Conversation

@hrygo
Copy link
Owner

@hrygo hrygo commented Feb 24, 2026

Summary

Add slash command support to Slack adapter, enabling users to trigger actions via Slack commands like /avatar.

Changes

  • Add slash command handler at /slack endpoint
  • Add SlashCommand type with Command, Text, UserID, ChannelID, ResponseURL fields
  • Add SetSlashCommandHandler for custom command processing

Context

Slash commands are a common interaction pattern in Slack, enabling users to trigger actions via text commands. This addresses the "Slash Commands" gap identified in the comparison report.

Testing

  • Test slash command registration in Slack
  • Test command parsing and handling
  • Test command response

Related

黄飞虹 added 3 commits February 25, 2026 02:26
- Add comprehensive v0.11.0 changelog with all P0+P1 fixes
- Document path traversal protection and ACK retry mechanism
- Include test coverage statistics (93.8%+)
- Link to PR #23, Issue #21, and release notes
- Follow Keep a Changelog format
- Add Reaction type to base.RichContent
- Add AddReaction method to Slack adapter
- Integrate reactions into defaultSender
- Add slash command handler at /slack endpoint
- Add SlashCommand type and SetSlashCommandHandler
@hrygo hrygo merged commit 5b0f33a into main Feb 24, 2026
7 checks passed
@hrygo hrygo deleted the feat/slack-slash-commands-v2 branch February 24, 2026 19:36
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.

Slack 实现与 OpenClaw 对比报告:功能差距分析与建议

1 participant