Skip to main content

nonebot-plugin-fakemsg

⭐基于Nonebot2的onebot 11的合并转发伪造消息插件⭐

⭐ 介绍

目前仅支持文字格式消息伪造

什么?你也想让你朋友出糗?!来试试伪造他的消息吧,

有啥关于该插件的新想法的,可以提issue或者pr (>A<)

💿 安装

安装

pip 安装

pip install nonebot-plugin-fakemsg
  • 在nonebot的pyproject.toml中的plugins = ["xxx"]添加此插件

nb-cli安装

nb plugin install nonebot-plugin-fakemsg -U

git clone安装(不推荐)

  • 运行 git clone https://github.com/Cvandia/nonebot-plugin-fakemsg
  • 在运行处 把文件夹nonebot-plugin-fakemsg复制到bot根目录下的src/plugins(或者你创建bot时的其他名称xxx/plugins)
注意

推荐镜像站下载

清华源https://pypi.tuna.tsinghua.edu.cn/simple

阿里源https://mirrors.aliyun.com/pypi/simple/

⚙️ 配置

在env.中添加以下配置

配置 类型 默认值 说明
user_split str " "
message_split str 空格 用于分隔同一个人的消息分隔符
fakesmg_whitelist str 无 无法用于消息伪造的账号(SUPERUSERS不受限制)

⭐ 使用

使用效果图如下

指令如下

效果图1

效果如下

效果图2

效果如下

效果图3

支持识别@xxx的消息,如@群友1 说你好啊|@群友2 我很好!


注意

指令触发方式是on_message的,不需要加指令前缀

🌙 目前以及未来

  • 支持go-cqhttp伪造消息
  • 支持Lagrange.core伪造消息
  • 支持NapcatQQ伪造消息
  • 支持白名单模式,仅SUPERUSERS可伪造位于白名单账号的消息,建议填入Bot本身和SUPERUSERS的账号
  • 支持图片,卡片等格式消息

喜欢记得点个star哦!⭐

💝 特别鸣谢

  • Nonebot: 本项目的基础,非常好用的聊天机器人框架。
  • Onebot: 统一的聊天机器人应用接口标准。简洁、通用、可扩展,只需使用一套标准即可为各种平台编写聊天机器人

Metadata

Release files for nonebot-plugin-fakemsg 0.1.10

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-fakemsg 0.1.10
File Size Uploaded Provenance Actions
nonebot_plugin_fakemsg-0.1.10.tar.gz 5.4 kB Without provenance Details for nonebot_plugin_fakemsg-0.1.10.tar.gz

Built distribution (wheel)

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

Total release size: 11.9 kB

Release files / nonebot_plugin_fakemsg-0.1.10.tar.gz

Download URL nonebot_plugin_fakemsg-0.1.10.tar.gz
Size 5.4 kB
Tags Source
SHA-256 checksum
How to use checksums
90982afa51cdb7dee77248c21f6c688736af544dec17dd28d61d87f294d15966
BLAKE2b-256 checksum
How to use checksums
b50aada78c03d84c98e5c8452a285ac13f9ed348737a9ae676ad3dd979684f0c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / nonebot_plugin_fakemsg-0.1.10-py3-none-any.whl

Download URL nonebot_plugin_fakemsg-0.1.10-py3-none-any.whl
Size 6.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b23c916ee3d6d4574799c50abe040d39c59ef9463df1c21b4efa49da3f735968
BLAKE2b-256 checksum
How to use checksums
003560f2f122e5994e600ec388079623adea685c88a90e96bb1a56c3f89f568b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Security for nonebot-plugin-fakemsg 0.1.10

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

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