Skip to main content

CopyCat — 复读机模块

由 https://www.erisdev.com/#builder 模块构建器全权生成

检测群聊/私聊中连续重复消息,当同一消息被不同人连续发送 2 次(含)以上时自动复读。
同一条消息仅复读一次,不会重复刷屏。

安装

epsdk install CopyCat

配置

在 ErisPulse 配置文件的 [CopyCat] 段中配置:

[CopyCat]
enabled = true           # 是否启用模块
trigger_count = 2        # 触发复读的连续重复次数

默认值:

配置项 默认值 说明
enabled true 是否启用模块
trigger_count 2 触发复读的连续重复次数

使用

无需任何命令,模块自动运行。

示例

用户A: 今天天气真好
用户B: 今天天气真好        ← 不同人重复第 2 次
机器人: 今天天气真好        ← 自动复读(仅这一次)
用户C: 今天天气真好        ← 已复读过,不再复读

行为说明

  • 不同人连续发送:只有不同用户连续发送相同消息才会计数
  • 同一用户多次发送:不算复读,不计数
  • 中间插入其他消息:重置计数,重新开始
  • 已复读的消息:不再复读

卸载

epsdk uninstall CopyCat

Metadata

Release files for ErisPulse-CopyCat 1.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ErisPulse-CopyCat 1.0.1
File Size Uploaded
erispulse_copycat-1.0.1.tar.gz 3.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for ErisPulse-CopyCat 1.0.1
File Interpreter ABI Platform
erispulse_copycat-1.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 7.3 kB

Release files / erispulse_copycat-1.0.1.tar.gz

Download URL erispulse_copycat-1.0.1.tar.gz
Size 3.2 kB
Tags Source
SHA-256 checksum
How to use checksums
13f35072e4adfe17dd89215ee93e98627328511f373d9cb1c0f93b4bb7aee899
BLAKE2b-256 checksum
How to use checksums
6220333d51f7f57cff659655a4cb4367dc7bc7931b9a2c2debdbb9f50df2fcf5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 1, 2026.

Transparency log

Release files / erispulse_copycat-1.0.1-py3-none-any.whl

Download URL erispulse_copycat-1.0.1-py3-none-any.whl
Size 4.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
bb722a5fd3829777280148b2a0d2bc96cfba156b496856f83b25ad33b553e4bd
BLAKE2b-256 checksum
How to use checksums
26395fe3bcc3b131a3fc3be515c4e4b0219356458f3daed6498214aab7137061
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 1, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

1.0.1 This release

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page