A Feishu/Lark channel plugin for OpenClaw / Moltbot / Clawdbot.
This plugin was created when OpenClaw (ex. Clawbot/Moltbot) did not yet provide a built-in Feishu/Lark channel.
OpenClaw now has an official Feishu channel. For new deployments, use the official solution instead of this plugin:
This repository stays available for legacy setups and migration reference.
# OpenClaw (legacy/testing only)
openclaw plugins install moltbot-channel-feishu
# Moltbot (legacy)
moltbot plugins install moltbot-channel-feishu
# Clawdbot (legacy)
clawdbot plugins install moltbot-channel-feishu
# From GitHub (for testing)
openclaw plugins install github:samzong/moltbot-channel-feishuEdit ~/.openclaw/openclaw.json (or ~/.moltbot/moltbot.json / ~/.clawdbot/clawdbot.json):
{
"channels": {
"feishu": {
"enabled": true,
"appId": "cli_xxx",
"appSecret": "xxx",
"domain": "feishu",
"dmPolicy": "pairing",
"groupPolicy": "open"
}
}
}Or use environment variables (takes precedence if config values are empty):
export FEISHU_APP_ID="cli_xxx"
export FEISHU_APP_SECRET="xxx"| Field | Type | Default | Description |
|---|---|---|---|
enabled |
boolean | false |
Enable/disable the channel |
appId |
string | - | Feishu App ID |
appSecret |
string | - | Feishu App Secret |
domain |
"feishu" | "lark" |
"feishu" |
API domain (China / International) |
dmPolicy |
"open" | "pairing" | "allowlist" |
"pairing" |
DM access policy |
allowFrom |
string[] | [] |
User IDs allowed for DM (when dmPolicy: "allowlist") |
groupPolicy |
"open" | "allowlist" | "disabled" |
"allowlist" |
Group chat access policy |
groupAllowFrom |
string[] | [] |
Group IDs allowed (when groupPolicy: "allowlist") |
requireMention |
boolean | true |
Require @mention in groups |
- Go to Feishu Open Platform
- Create a self-built app
- Enable permissions:
im:message,im:chat,contact:user.base:readonly - Events → Use Long Connection mode
- Subscribe to event:
im.message.receive_v1 - Get App ID and App Secret from Credentials page
- Publish the app