📖 介绍
基于 LLM 的定型文生成器
⚙️ 数据配置
定型文
存放于 ./data/copywrite/ 下面
例子
__category__: 114514
__model__: sol
鸣潮:
examples:
- 圆桌是这样的,亚瑟王只需要使用圣剑就行了,而圆桌骑士们需要考虑的就多了,什么时候和贵妇幽会,什么时候挑起内战,都需要深思熟虑
- 儿童节是这样的,大哥哥只需要在家等着被抓就行了,而小萝莉要考虑的事情就很多了,什么时候喊杂鱼杂鱼,什么时候掀裙子露内裤,什么时候拉响警报器,都需要经过深思熟虑
- 企业家是这样的,员工只需要完成工作任务就行了,而老板要考虑的事情就很多了,什么时候拖欠工资,什么时候增加工作时间,员工绩效怎么压,都需要深思熟虑
addition: "你回复的文案应该是辛辣讽刺的,例如老板考虑如何拖欠工资,学生考虑低分怎么辩解,游戏玩家考虑如何开挂。"
紧缩术:
examples:
- 你的太阳系舰队比较松弛……
model: luna
解释
- __category__: 定型文的分类
- __model__: 本文件所有文案默认使用的模型代号
- __min_version__: 可选,需要的最低插件版本,版本不够时整个文件跳过
- examples: 例子
- addition: 附加内容,用以约束 LLM 可能的输出
- model: 模型代号,覆盖 __model__
模型代号
模型代号只表示「档位」,具体调用哪个模型由配置决定。每档两个代号可以混用:
| 代号 | 同档代号 | 档位 | 配置项 |
|---|---|---|---|
| luna | haiku | 小杯 | COPYWRITE_MODEL_LUNA |
| terra | sonnet | 中杯 | COPYWRITE_MODEL_TERRA |
| sol | opus | 大杯 | COPYWRITE_MODEL_SOL |
| astra | fable | 超大杯 | COPYWRITE_MODEL_ASTRA |
在 .env 里按档位填模型名即可,例如:
COPYWRITE_MODEL_LUNA=gemini-2.5-flash-lite
COPYWRITE_MODEL_TERRA=gemini-2.5-flash
COPYWRITE_MODEL_SOL=gemini-3-flash-preview
COPYWRITE_MODEL_ASTRA=gemini-3-pro-preview
没写 model 的文案使用 __model__,没写 __model__ 的文件默认 luna。配置项未填写时四档均为 gpt-6-luna;模型名必须在 configs/chatgpt-vision/keys.yaml 里配置过才能调用。
💬 指令
文案
/文案 [Type] (Keywords)* [Topic]
生产电子垃圾。
| 参数 | 说明 |
|---|---|
| Type | 文案名字 |
| Topic | 文案的主题 |
| Keywords | 文案的关键词 |
/文案
查看可用文案.
/文案 [Type]
查看帮助,如果有的话。
保留关键字
只有 SuperAdmin 才能使用。
- reload: 重新加载定型文数据,并列出新增、移除和变化的文案
- fetch: 从 GitHub 下载最新的内置文案并重新加载。只更新 yaml,不改 Python 环境
fetch 下载的文案缓存在 ./data/copywrite_builtin/,优先于包内自带的文案。插件升级后缓存自动作废,改用新包自带的文案,需要时再 fetch 一次。下载地址可以用 COPYWRITE_FETCH_URL 换成镜像,格式与 GitHub 的 tar.gz 归档相同。
文案 示例
/文案
Yan:
不是高三生, 乙游大世界, 两种可能, 你说得对, 女性凝视, 二次元, 四不吃, 回来吧, 带节奏, 慢就业, 紧缩术, 恩情, 意林, 饭局, 鸣潮
Life.Checkpoint:
第一个被抓, 求真学生, 表白
/copywrite reload
重新加载完成。
/文案 鸣潮 造新梗,套公式
造新梗是这样的,网友们只需要动动手指发个帖就行了,而梗创作者要考虑的事情就很多了,什么时候抓住热点,怎么巧妙结合时事,如何让梗迅速传播,都需要深思熟虑。
文案 Alias
- copywrite
Metadata
Release files for nonebot-plugin-copywrite 0.4.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| nonebot_plugin_copywrite-0.4.0.tar.gz | 81.3 kB | With provenance | Details for nonebot_plugin_copywrite-0.4.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| nonebot_plugin_copywrite-0.4.0-py3-none-any.whl | Python 3 | none | any | Details for nonebot_plugin_copywrite-0.4.0-py3-none-any.whl |
Total release size: 140.2 kB
Release files / nonebot_plugin_copywrite-0.4.0.tar.gz
| Download URL | nonebot_plugin_copywrite-0.4.0.tar.gz |
|---|---|
| Size | 81.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b723555d21bfc012c6cc092e0176eb53af71524ddb1a3716a85c698c6ea68d11
|
|
BLAKE2b-256 checksum How to use checksums |
a594ab1f50b38719c361abbcd7b7d61c38a8e10b1225692932f1df551de6e618
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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 Nov 5, 2026.
Transparency logRelease files / nonebot_plugin_copywrite-0.4.0-py3-none-any.whl
| Download URL | nonebot_plugin_copywrite-0.4.0-py3-none-any.whl |
|---|---|
| Size | 58.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
46840aece02eab82bd73c57d6b5bf1106738362a224d1d3e74563583321ff833
|
|
BLAKE2b-256 checksum How to use checksums |
834ace8f38e95df1887662c30a680f08246729d8b90b5b0ff93251c06b2514e6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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 Nov 5, 2026.
Transparency logSecurity for nonebot-plugin-copywrite 0.4.0
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.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for nonebot_plugin_copywrite-0.4.0.tar.gz
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 Nov 5, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.