Moltbot接入飞书机器人
- [安装 clawdbot-feishu](#安装 clawdbot-feishu)
- 重启生效
- 在飞书开放平台创建自建应用
- 添加机器人
- 通过审核
- 参考
安装 clawdbot-feishu
bash
clawdbot plugins install @m1heng-clawd/feishu
重启生效
bash
clawdbot daemon restart
在飞书开放平台创建自建应用
bash
权限 范围 说明
contact:user.base:readonly 用户信息 获取用户基本信息
im:message 消息 发送和接收消息
im:message.p2p_msg:readonly 私聊 读取发给机器人的私聊消息
im:message.group_at_msg:readonly 群聊 接收群内 @机器人 的消息
im:message:send_as_bot 发送 以机器人身份发送消息
im:resource 媒体 上传和下载图片/文件
bash
事件 说明
im.message.receive_v1 接收消息(必需)
im.message.message_read_v1 消息已读回执
im.chat.member.bot.added_v1 机器人进群
im.chat.member.bot.deleted_v1 机器人被移出群
添加机器人
通过审核
bash
clawdbot config set channels.feishu.appId "cli_xxxxx"
clawdbot config set channels.feishu.appSecret "your_app_secret"
clawdbot config set channels.feishu.enabled true
