Feishu Auto Reply Bot
Automatic reply to Feishu messages based on custom rules, features:
- - Keyword matching support
- Regular expression matching
- Multiple reply strategies
- Support for @mention only reply
- Working hours configuration
- Custom reply templates
- Support for rich text messages
Usage
CODEBLOCK0
Configuration Example (config.yaml)
CODEBLOCK1
Required Permissions
- - INLINECODE0
- INLINECODE1
- INLINECODE2
飞书自动回复机器人
基于自定义规则自动回复飞书消息,功能特性:
- - 支持关键词匹配
- 支持正则表达式匹配
- 多种回复策略
- 支持仅@提及回复
- 工作时间配置
- 自定义回复模板
- 支持富文本消息
使用方法
bash
启动自动回复服务
openclaw feishu-auto-reply start --config ./config.yaml
测试规则匹配
openclaw feishu-auto-reply test --message 你好 --config ./config.yaml
配置示例 (config.yaml)
yaml
rules:
- keyword: 你好
reply: 你好!我是自动回复机器人,有什么可以帮你的?
match: contains
- regex: ^(请假|休假)
reply: 请假请直接联系人事部门,谢谢!
only_mention: true
working_hours:
- 9:00-18:00
- exclude_weekends: true
所需权限
- - im:message:read
- im:message:send
- im:chat:read