版本
v0.2.3
⚠ 适配nonebot2-2.0.0beta.2
👉 适配alpha.16版本参见alpha.16分支
安装
-
通过
pip或nb安装; -
在
env内设置:ANTI_FLASH_ON=true # 全局开关 ANTI_FLASH_GROUP=["123456789", "987654321"] # 默认开启的群聊,但可通过指令开关 ANTI_FLASH_PATH="your-path-to-config.json" # 配置文件路径,默认同插件代码路径
ANTI_FLASH_GROUP会在每次初始化时写入配置文件,在群组启用反闪照,可通过指令更改。修改 配置文件即读即改,可后台修改。
功能
-
全局开关仅超管配置,不支持指令修改全局开关;
-
各群聊均配置开关,需管理员及超管权限进行修改;
命令
开启/启用/禁用反闪照
Metadata
Release files for nonebot-plugin-antiflash 0.2.3
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-antiflash-0.2.3.tar.gz | 4.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| nonebot_plugin_antiflash-0.2.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 9.5 kB
Release files / nonebot-plugin-antiflash-0.2.3.tar.gz
| Download URL | nonebot-plugin-antiflash-0.2.3.tar.gz |
|---|---|
| Size | 4.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1dd9cc9fd81b096e8d6467297d6ac8e7749a03b352758c61b1e0db44f44c6700
|
|
BLAKE2b-256 checksum How to use checksums |
a737a495353798701f0c806e29e16c9c7ca9c99feaa0a0383fb40113925504ef
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.13 CPython/3.9.5 Linux/5.4.0-105-generic
|
Release files / nonebot_plugin_antiflash-0.2.3-py3-none-any.whl
| Download URL | nonebot_plugin_antiflash-0.2.3-py3-none-any.whl |
|---|---|
| Size | 5.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3ce9a461f5d83772e1312d8061ae076f65d8bd3ddcb29be1487bd80581ed0b5d
|
|
BLAKE2b-256 checksum How to use checksums |
9606ce864419578029856f69e91cf52324b668025e250986e529349e32e2ae4f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.13 CPython/3.9.5 Linux/5.4.0-105-generic
|