@yifu233

yy Chat

让OpenClaw能够和你通过多条消息聊天!/ Enables OpenClaw to chat with you through multiple messages!

Current version
v1.0.4
code-pluginCommunitysource-linked

yychat

Enables OpenClaw to chat with you through multiple messages!

A message-splitting plugin for OpenClaw. It splits long messages into multiple messages using the {enter/} marker, with realistic typing delays between each chunk.

让OpenClaw能够和你通过多条消息聊天!按 {enter/} 标记将一条长消息拆分成多条消息依次发送,并模拟真人打字的延迟。

Developed by yy & yifu233 with 💕

How it works

yychat hooks into OpenClaw's message_sending event, which fires before any message is sent through any channel. This means the plugin works universally with all OpenClaw-supported platforms: WeChat, Feishu (Lark), Telegram, Discord, Enterprise WeChat, Matrix, and more. No per-channel configuration needed — install once, works everywhere.

When it detects the {enter/} marker in a message, it splits the content, sends the first part immediately, and queues the rest. After each part is delivered, it waits a realistic typing delay before sending the next chunk via message_sent hook.

技术原理:yychat 通过监听 OpenClaw 的 message_sending 钩子来拦截所有即将发送的消息。这个钩子在消息到达具体聊天软件之前触发,因此插件与底层通信渠道无关——无论你用微信、飞书、Telegram、Discord 还是其他平台,安装后自动生效。检测到 {enter/} 标记后,插件将消息拆分为多段,第一时间发送第一段,其余排队等待;每发送完一段,通过 message_sent 钩子触发下一段,并在中间插入模拟打字的时间延迟。

Features

  • Split messages by {enter/} marker
  • Realistic typing delays (≤20 chars: 2s, 20-50 chars: 4s, ≥50 chars: 5s)
  • Marker is intercepted and never appears in the message
  • Universal — works with any OpenClaw channel out of the box

Installation

openclaw plugins install clawhub:yychat

Usage

Insert {enter/} in your reply to split:

First message {enter/} Second message {enter/} Third message

The plugin intercepts the message, sends the first part immediately, then sends each subsequent part with a typing delay.

Configuration

In openclaw.json, under plugins.entries.yychat.config:

KeyTypeDefaultDescription
shortDelaynumber2000Delay for ≤20 chars (ms)
mediumDelaynumber4000Delay for 20-50 chars (ms)
longDelaynumber5000Delay for ≥50 chars (ms)
separatorstring{enter/}Message split marker

Development

git clone https://github.com/yifu233/yychat
cd yychat
npm install
npm run build
openclaw plugins install ./dist

License

MIT

Credits

Developed with 💕 by yy & yifu233

Love this plugin? Give us a star on GitHub

喜欢这个插件的话 去 GitHub 点个 star 吧 让更多人发现它 ✨

Source and release

Source repository

yifu233/yychat

Open repo

Source commit

0000000

View commit

Install command

openclaw plugins install clawhub:yychat

Metadata

  • Package: yychat
  • Created: 2026/04/30
  • Updated: 2026/04/30
  • Executes code: Yes
  • Source tag: master

Compatibility

  • Built with OpenClaw: 2026.4.23
  • Plugin API range: >=2026.3.22
  • Tags: chat-split-reply, latest, message-splitter, openclaw-plugin, weixin
  • Files: 9