Skip to main content
NoneBotPluginLogo

NoneBotPluginText

Nonebot 2 定型文生成器

✨ NoneBot 定型文生成器 ✨

license pypi python nonebot onebot pypi download

📖 介绍

基于 LLM 的定型文生成器

⚙️ 数据配置

定型文

存放于 ./data/copywrite/ 下面

例子

__category__: 114514
__model__: sol

鸣潮:
  examples:
    - 圆桌是这样的,亚瑟王只需要使用圣剑就行了,而圆桌骑士们需要考虑的就多了,什么时候和贵妇幽会,什么时候挑起内战,都需要深思熟虑
    - 儿童节是这样的,大哥哥只需要在家等着被抓就行了,而小萝莉要考虑的事情就很多了,什么时候喊杂鱼杂鱼,什么时候掀裙子露内裤,什么时候拉响警报器,都需要经过深思熟虑
    - 企业家是这样的,员工只需要完成工作任务就行了,而老板要考虑的事情就很多了,什么时候拖欠工资,什么时候增加工作时间,员工绩效怎么压,都需要深思熟虑
  addition: "你回复的文案应该是辛辣讽刺的,例如老板考虑如何拖欠工资,学生考虑低分怎么辩解,游戏玩家考虑如何开挂。"

紧缩术:
  examples:
    - 你的太阳系舰队比较松弛……
  model: luna

解释

  • __category__: 定型文的分类
  • __model__: 本文件所有文案默认使用的模型代号
  • 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 才能使用。

  1. reload: 重新加载定型文数据
  2. fetch: !!慎用!! 调用 pip 更新 nonebot-plugin-copywrite,由于依赖问题,可能下一次bot就无法启动了。

文案 示例

/文案

Yan:
  不是高三生, 乙游大世界, 两种可能, 你说得对, 女性凝视, 二次元, 四不吃, 回来吧, 带节奏, 慢就业, 紧缩术, 恩情, 意林, 饭局, 鸣潮
Life.Checkpoint:
  第一个被抓, 求真学生, 表白

/copywrite reload

重新加载完成。

/文案 鸣潮 造新梗,套公式

造新梗是这样的,网友们只需要动动手指发个帖就行了,而梗创作者要考虑的事情就很多了,什么时候抓住热点,怎么巧妙结合时事,如何让梗迅速传播,都需要深思熟虑。

文案 Alias

  • copywrite

汉语新解

Prompt 原作者:李继刚

/汉语新解 [Word]

将一个汉语词汇进行全新角度的解释。(看模型,GPT-4o 多正能量,Claude 多讽刺,Gemini 比较中庸)

参数 说明
Word 词汇,其实不仅限于汉语。

汉语新解 示例

/汉语新解 调休

调休

汉语新解 Alias

  • new-meaning

Metadata

Release files for nonebot-plugin-copywrite 0.3.2

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

Source distribution (sdist)

Source distribution for nonebot-plugin-copywrite 0.3.2
File Size Uploaded Provenance Actions
nonebot_plugin_copywrite-0.3.2.tar.gz 90.6 kB With provenance Details for nonebot_plugin_copywrite-0.3.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for nonebot-plugin-copywrite 0.3.2
File Interpreter ABI Platform Actions
nonebot_plugin_copywrite-0.3.2-py3-none-any.whl Python 3 none any Details for nonebot_plugin_copywrite-0.3.2-py3-none-any.whl

Total release size: 150.5 kB

Release files / nonebot_plugin_copywrite-0.3.2.tar.gz

Download URL nonebot_plugin_copywrite-0.3.2.tar.gz
Size 90.6 kB
Tags Source
SHA-256 checksum
How to use checksums
82c29a857fb339d340b72dba3b31a81f585c79e8bf133757322175b195aed035
BLAKE2b-256 checksum
How to use checksums
68a743b56490fc3dde1b7ac2e699d0b5a942898a8fd3dc57783f18da5d112291
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 1, 2026.

Transparency log

Release files / nonebot_plugin_copywrite-0.3.2-py3-none-any.whl

Download URL nonebot_plugin_copywrite-0.3.2-py3-none-any.whl
Size 59.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c496d44d3f2694dd6c95b79bc82708f5f6bf27f5acde20a50e888b3f6fa4b86b
BLAKE2b-256 checksum
How to use checksums
6086b0bcd70b03a90e4c684589ca1ede3b49e6a83904638f64ead9563300b755
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 1, 2026.

Transparency log

Security for nonebot-plugin-copywrite 0.3.2

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.

Select from 2 files

Attestation for nonebot_plugin_copywrite-0.3.2.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 1, 2026.

Transparency log

A 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.

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