Metadata-Version: 2.1
Name: nonebot-plugin-antiflash
Version: 0.2.2
Summary: Anti flash pictures in groups
License: MIT
Author: KafCoppelia
Author-email: k740677208@gmail.com
Requires-Python: >=3.7.3,<4.0.0
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Requires-Dist: nonebot-adapter-onebot (>=2.0.0-beta.1,<3.0.0)
Requires-Dist: nonebot2 (>=2.0.0-beta.2,<3.0.0)
Description-Content-Type: text/markdown

<div align="center">

# Anti Flash

<!-- prettier-ignore-start -->
<!-- markdownlint-disable-next-line MD036 -->
_🎇 反闪照 🎇_
<!-- prettier-ignore-end -->

</div>
<p align="center">
  
  <a href="https://github.com/MinatoAquaCrews/nonebot_plugin_antiflash/blob/beta/LICENSE">
    <img src="https://img.shields.io/badge/license-MIT-informational">
  </a>
  
  <a href="https://github.com/nonebot/nonebot2">
    <img src="https://img.shields.io/badge/nonebot2-2.0.0beta.2-green">
  </a>
  
  <a href="">
    <img src="https://img.shields.io/badge/release-v0.2.2-orange">
  </a>
  
</p>

</p>

## 版本

v0.2.2

⚠ 适配nonebot2-2.0.0beta.2；

👉 适配alpha.16版本参见[alpha.16分支](https://github.com/MinatoAquaCrews/nonebot_plugin_antiflash/tree/alpha.16)

[更新日志](https://github.com/MinatoAquaCrews/nonebot_plugin_antiflash/releases/tag/v0.2.2)

## 安装

1. 通过`pip`或`nb`安装；

2. 在`env`内设置：

```python
ANTI_FLASH_ON=true                          # 全局开关
ANTI_FLASH_GROUP=["123456789", "987654321"] # 默认开启的群聊，但可通过指令开关
```

**修改** 全局开启时，群聊列表可以为空。

## 功能

1. 全局开关**仅超管**配置，不支持指令修改全局开关；

2. 各群聊均配置开关，需**管理员及超管权限**进行修改；

## 命令

开启/启用/禁用反闪照

## 本插件改自

忘记出处了，找到了马上补上。
