⭐ 介绍
什么?你也想让你朋友出糗?!来试试伪造他的消息吧,
💿 安装
安装
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不受限制) |
⭐ 使用
使用效果图如下
指令如下
效果如下
效果如下
支持识别@xxx的消息,如@群友1 说你好啊|@群友2 我很好!
注意
指令触发方式是
on_message的,不需要加指令前缀
🌙 目前以及未来
- 支持go-cqhttp伪造消息
- 支持Lagrange.core伪造消息
- 支持NapcatQQ伪造消息
- 支持
白名单模式,仅SUPERUSERS可伪造位于白名单账号的消息,建议填入Bot本身和SUPERUSERS的账号 - 支持
图片,卡片等格式消息
喜欢记得点个star哦!⭐
💝 特别鸣谢
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)
| File | Size | Uploaded | |
|---|---|---|---|
| nonebot_plugin_fakemsg-0.1.9.tar.gz | 5.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| 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
|