Metadata-Version: 2.1
Name: nonebot-plugin-fakemsg
Version: 0.1.5
Summary: 适用于onebot的伪消息插件
License: MIT
Author: Cvandia
Author-email: 106718176+Cvandia@users.noreply.github.com
Requires-Python: >=3.8,<4
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Requires-Dist: httpx (>=0.23.3)
Requires-Dist: nonebot-adapter-onebot (>=2.0.0-beta.1)
Requires-Dist: nonebot2 (>=2.0.0-beta.1)
Requires-Dist: pydantic (>=1.10.2)
Description-Content-Type: text/markdown


<div align="center">
    <a href="https://onebot.adapters.nonebot.dev">
      <img src="./res/logo.png" width="180" height="180" alt="OnebotLogo">
    </a>
  </div>
</div>


<div align="center">

# nonebot-plugin-fakemsg

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

<a href="https://www.python.org/downloads/release/python-390/" class="badge">
<img src="https://img.shields.io/badge/python-3.8+-blue">
</a>
<a href="" class="badge">
<img src="https://img.shields.io/badge/QQ-1141538825-yellow">
</a>
<a href="https://github.com/Cvandia/nonebot-plugin-fakemsg/blob/main/LICENSE" class="badge">
<img src="https://img.shields.io/badge/license-MIT-blue">
</a>
<a href="https://v2.nonebot.dev/" class="badge">
<img src="https://img.shields.io/badge/nonebot2-2.0.0+-red">
</a>
<a href="https://onebot.adapters.nonebot.dev" class="badge">
<img src="https://img.shields.io/badge/Onebot%2011-2.2.4+-green">
</a>
</div>

## ⭐ 介绍

> 什么？你也想让你朋友出糗？！来试试伪造他的消息吧



<div align="center">

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

</div>

## 💿 安装

<details>
<summary>安装</summary>

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`)

 
 </details>
 
 <details>
 <summary>注意</summary>
 
 推荐镜像站下载
  
 清华源```https://pypi.tuna.tsinghua.edu.cn/simple```
 
 阿里源```https://mirrors.aliyun.com/pypi/simple/```

</details>


## ⚙️ 配置
### 在env.中添加以下配置

| 配置 | 类型 | 默认值 | 说明 |
|:-----:|:----:|:----:|:---:|
|user_split|str|'\|'|不同人伪造消息的分隔符|
|message_split|str|空格|用于分隔同一个人的消息分隔符|

## ⭐ 使用
<details>
<summary>使用效果图如下</summary>

> ** 指令如下

![效果图1](./res/test_1.jpg)

> ** 效果如下

![效果图2](./res/test_2.jpg)

</details>

---

**注意**
> 指令触发方式是`on_message`的，不需要加指令前缀

## 🌙 未来
 - [ ] 添加`消息分段式`的伪造消息

<div align="center">

_喜欢记得点个[star](https://www.baidu.com)哦!⭐_

</div>

## 💝 特别鸣谢

- [x] [Nonebot](https://github.com/nonebot/nonebot2): 本项目的基础，非常好用的聊天机器人框架。
- [x] [Onebot](https://onebot.dev/): 统一的聊天机器人应用接口标准。简洁、通用、可扩展，只需使用一套标准即可为各种平台编写聊天机器人

