Slack: update docs and tool display
This commit is contained in:
committed by
Peter Steinberger
parent
0085b2e0a9
commit
7701d395e9
@@ -108,13 +108,13 @@ Slack uses Socket Mode only (no HTTP webhook server). Provide both tokens:
|
|||||||
},
|
},
|
||||||
"reactionNotifications": "own",
|
"reactionNotifications": "own",
|
||||||
"reactionAllowlist": ["U123"],
|
"reactionAllowlist": ["U123"],
|
||||||
"actions": {
|
"actions": {
|
||||||
"reactions": true,
|
"reactions": true,
|
||||||
"messages": true,
|
"messages": true,
|
||||||
"pins": true,
|
"pins": true,
|
||||||
"memberInfo": true,
|
"memberInfo": true,
|
||||||
"emojiList": true
|
"emojiList": true
|
||||||
},
|
},
|
||||||
"slashCommand": {
|
"slashCommand": {
|
||||||
"enabled": true,
|
"enabled": true,
|
||||||
"name": "clawd",
|
"name": "clawd",
|
||||||
|
|||||||
@@ -14,7 +14,6 @@ Use `slack` to react, manage pins, send/edit/delete messages, and fetch member i
|
|||||||
- `channelId` and `messageId` (Slack message timestamp, e.g. `1712023032.1234`).
|
- `channelId` and `messageId` (Slack message timestamp, e.g. `1712023032.1234`).
|
||||||
- For reactions, an `emoji` (Unicode or `:name:`).
|
- For reactions, an `emoji` (Unicode or `:name:`).
|
||||||
- For message sends, a `to` target (`channel:<id>` or `user:<id>`) and `content`.
|
- For message sends, a `to` target (`channel:<id>` or `user:<id>`) and `content`.
|
||||||
- For searches, a `query` (optionally `channelIds` or `channelNames`).
|
|
||||||
|
|
||||||
Message context lines include `slack message id` and `channel` fields you can reuse directly.
|
Message context lines include `slack message id` and `channel` fields you can reuse directly.
|
||||||
|
|
||||||
|
|||||||
@@ -192,6 +192,23 @@
|
|||||||
"kick": { "label": "kick", "detailKeys": ["guildId", "userId"] },
|
"kick": { "label": "kick", "detailKeys": ["guildId", "userId"] },
|
||||||
"ban": { "label": "ban", "detailKeys": ["guildId", "userId"] }
|
"ban": { "label": "ban", "detailKeys": ["guildId", "userId"] }
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"slack": {
|
||||||
|
"emoji": "💬",
|
||||||
|
"title": "Slack",
|
||||||
|
"actions": {
|
||||||
|
"react": { "label": "react", "detailKeys": ["channelId", "messageId", "emoji"] },
|
||||||
|
"reactions": { "label": "reactions", "detailKeys": ["channelId", "messageId"] },
|
||||||
|
"sendMessage": { "label": "send", "detailKeys": ["to", "content"] },
|
||||||
|
"editMessage": { "label": "edit", "detailKeys": ["channelId", "messageId"] },
|
||||||
|
"deleteMessage": { "label": "delete", "detailKeys": ["channelId", "messageId"] },
|
||||||
|
"readMessages": { "label": "read messages", "detailKeys": ["channelId", "limit"] },
|
||||||
|
"pinMessage": { "label": "pin", "detailKeys": ["channelId", "messageId"] },
|
||||||
|
"unpinMessage": { "label": "unpin", "detailKeys": ["channelId", "messageId"] },
|
||||||
|
"listPins": { "label": "list pins", "detailKeys": ["channelId"] },
|
||||||
|
"memberInfo": { "label": "member", "detailKeys": ["userId"] },
|
||||||
|
"emojiList": { "label": "emoji list" }
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user