You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/channels/bot-loop-protection.md
+3-2Lines changed: 3 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -26,7 +26,7 @@ The guard does not affect human-authored messages, single-bot deployments, self-
26
26
27
27
## Configure shared defaults
28
28
29
-
Set `channels.defaults.botLoopProtection` once to give every supporting channel the same baseline. Channel, account, and room overrides can still tune individual surfaces.
29
+
Set `channels.defaults.botLoopProtection` once to give every supporting channel the same baseline. Channels may also expose narrower overrides; Feishu intentionally uses only this shared baseline.
30
30
31
31
```json5
32
32
{
@@ -68,7 +68,7 @@ Supporting channels layer their own config over the shared default, key by key.
68
68
},
69
69
accounts: {
70
70
secondary: {
71
-
allowBots:"mentions",
71
+
allowBots:true,
72
72
botLoopProtection: {
73
73
maxEventsPerWindow:5,
74
74
cooldownSeconds:90,
@@ -109,6 +109,7 @@ Supporting channels layer their own config over the shared default, key by key.
109
109
## Channel support
110
110
111
111
- Discord: native `author.bot` facts, keyed by Discord account, channel, and bot pair.
112
+
- Feishu: native `sender_type=bot` facts for admitted bot-authored group messages, keyed by Feishu account, chat, and bot pair. Feishu uses only `channels.defaults.botLoopProtection`.
112
113
- Google Chat: native `sender.type=BOT` facts for accepted bot-authored messages, keyed by account, space, and bot pair.
113
114
- Matrix: configured Matrix bot accounts, keyed by Matrix account, room, and configured bot pair.
114
115
- Slack: native `bot_id` facts for accepted bot-authored messages, keyed by Slack account, channel, and bot pair.
Copy file name to clipboardExpand all lines: docs/channels/feishu.md
+16Lines changed: 16 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -150,6 +150,22 @@ In `allowlist` mode, you can also admit a group by adding an explicit `groups.<c
150
150
151
151
`channels.feishu.groupSenderAllowFrom` sets the same sender allowlist for all groups; a per-group `allowFrom` takes precedence.
152
152
153
+
### Bot-authored messages
154
+
155
+
Feishu ignores messages authored by other bots by default. To allow bot-to-bot group conversations, grant the app the `im:message.group_at_msg.include_bot:readonly` and `im:message:readonly` scopes, then set `allowBots`:
156
+
157
+
```json5
158
+
{
159
+
channels: {
160
+
feishu: {
161
+
allowBots:true,
162
+
},
163
+
},
164
+
}
165
+
```
166
+
167
+
Feishu only delivers bot-authored group events when another bot mentions this bot. Existing group policy, sender allowlists, and mention requirements still apply. OpenClaw drops self-authored messages, mentions the peer bot on every text or card reply, and applies the shared [`channels.defaults.botLoopProtection`](/channels/bot-loop-protection) guard.
0 commit comments