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

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.9
File Size Uploaded
nonebot_plugin_fakemsg-0.1.9.tar.gz 5.3 kB Details

Built distribution (wheel)

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

Total release size: 11.6 kB

Release files / nonebot_plugin_fakemsg-0.1.9.tar.gz

Download URL nonebot_plugin_fakemsg-0.1.9.tar.gz
Size 5.3 kB
Tags Source
SHA-256 checksum
How to use checksums
5e1460a139e60318b360008e693932f54309e71cb4bb8d27274dbd0bade1cd34
BLAKE2b-256 checksum
How to use checksums
b30d1d981faa21ef411ec6190a4f99a8490e17b3072f8612d7fdaac87b280a8a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

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

Download URL nonebot_plugin_fakemsg-0.1.9-py3-none-any.whl
Size 6.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5cc3d0c83880bf7ef86ca5ff4b1d3292fed7f86c1d4cdd60569c6fc5c9431ea0
BLAKE2b-256 checksum
How to use checksums
b4596a610260204ff4ebd09a7110a9f9abf752f4c7bee2117bc002b028896821
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Release history Release notifications | RSS feed

This release

0.1.9 This release

2 release files

0.1.8

2 release files

0.1.7

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

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