Metadata-Version: 2.1
Name: nonebot_plugin_eventmonitor
Version: 0.1.1
Summary: 监控群事件的插件，支持戳一戳，成员变动，群荣誉，运气王变化等提示
Home-page: https://github.com/Reversedeer/nonebot_plugin_eventmonitor
Author: schwarzwald
Project-URL: Bug Tracker, https://github.com/Reversedeer/nonebot_plugin_eventmonitor/issues
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: GNU General Public License v3 (GPLv3)
Classifier: Operating System :: OS Independent
Requires-Python: >=3.8
Description-Content-Type: text/markdown
License-File: LICENSE

<p align="center">
  <a href="https://v2.nonebot.dev/"><img src="https://v2.nonebot.dev/logo.png" width="200" height="200" alt="nonebot"></a>
</p>


<div align="center">
# Monitor_Groups

_✨ 基于NoneBot2实现的 监测QQ群事件 插件 ✨_

</div>

## 介绍：
> 监测群组的以下变动事件：
>
> 群成员增加、减少时，自动发送通知
>
> 群管理变更时，自动发送通知
>
> 被其他成员戳一戳时，自动回复
>
> 群成员上传文件时，自动发送通知
>
> 群红包被抢完时，自动发送红包运气王
>
> 群成员荣誉变更时，发送变更通知

## 安装方式

### nb-cli安装(推荐)

```
nb plugin install nonebot_plugin_eventmonitor
```

<details><summary><h3>pip</h3></summary>


```
pip install nonebot-plugin-eventmonitor
```
打开 nonebot2 项目的 `bot.py` 文件, 在其中写入

    nonebot.load_plugin("nonebot_plugin_eventmonitor")

在’pyproject.toml‘文件中写入

    "nonebot_plugin_eventmonitor"

</details>

<details><summary><h3>git clone</h3></summary>

```
git clone https://github.com/Reversedeer/nonebot_piugin_eventmonitor.git
```

</details>

### 更新

```
pip install --upgrade nonebot-plugin-eventmonitor
```

## 配置

在bot目录对应的.env.*文件中添加（SUPERUSERS应该都填了吧）

|   config   | type | default |         example          |                    usage                    |
| :--------: | :--: | :-----: | :----------------------: | :-----------------------------------------: |
|   bot_qq   | int  |   寄    |     bot_qq=123456789     |           bot自身的群荣誉变化时判断（必填）    |
| SUPERUSERS | int  |   寄    | SUPERUSERS=["123456789"] | nonebot超级管理员，用于判断是否为主人(必填) |
|  bot_name  | int  |   寄    |      bot_name=AI-Md      |               bot的昵称(必填)               |
|  cd_time   | int  |    0    |        cd_time=10        |             戳一戳的cd（选填）              |

戳一戳的cd默认为0即没有cd

<details>
    <summary><h2>更新日志</h2></summary>

- v0.1.1

  - 删除了多余的文件
  - 优化了代码

- v0.1.0

  - 抛弃原有的配置模式（具体看"配置"）
  - 给戳一戳加了cd（本人觉得功能鸡肋）
  - 修复管理员变动时API报错问题[#issue1](https://github.com/Reversedeer/nonebot_plugin_eventmonitor/issues/1)

- v0.0.6
  - 修复了大量的bug
  </details>

## 关于 ISSUE

以下 ISSUE 会被直接关闭

- 提交 BUG 不使用 Template
- 询问已知问题
- 提问找不到重点
- 重复提问

> 请注意, 开发者并没有义务回复您的问题. 您应该具备基本的提问技巧。  
> 有关如何提问，请阅读[《提问的智慧》](https://github.com/ryanhanwu/How-To-Ask-Questions-The-Smart-Way/blob/main/README-zh_CN.md)

## 感谢：

感谢[@cjladmin](https://github.com/cjladmin)的开源代码，在此基础上修改了bug

以后将持续更新并完善

## 其他插件

[使用API的chatGPTQQ聊天机器人](https://github.com/Reversedeer/nonebot_plugin_chatGPT_openai)

[舔狗日记](https://github.com/Reversedeer/nonebot_plugin_dog)
