Anti flash pictures in groups
Project description
Anti Flash
🎇 反闪照 🎇
版本
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
会在每次初始化时写入配置文件,在群组启用反闪照,可通过指令更改。修改 配置文件即读即改,可后台修改。
功能
-
全局开关仅超管配置,不支持指令修改全局开关;
-
各群聊均配置开关,需管理员及超管权限进行修改;
命令
开启/启用/禁用反闪照
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file nonebot-plugin-antiflash-0.2.3.tar.gz
.
File metadata
- Download URL: nonebot-plugin-antiflash-0.2.3.tar.gz
- Upload date:
- Size: 4.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.13 CPython/3.9.5 Linux/5.4.0-105-generic
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1dd9cc9fd81b096e8d6467297d6ac8e7749a03b352758c61b1e0db44f44c6700 |
|
MD5 | 68a5c396ce2a68a5a12e502f3044b018 |
|
BLAKE2b-256 | a737a495353798701f0c806e29e16c9c7ca9c99feaa0a0383fb40113925504ef |
File details
Details for the file nonebot_plugin_antiflash-0.2.3-py3-none-any.whl
.
File metadata
- Download URL: nonebot_plugin_antiflash-0.2.3-py3-none-any.whl
- Upload date:
- Size: 5.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.13 CPython/3.9.5 Linux/5.4.0-105-generic
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3ce9a461f5d83772e1312d8061ae076f65d8bd3ddcb29be1487bd80581ed0b5d |
|
MD5 | 8f5f103383d1f9db30bad5fe1dea5545 |
|
BLAKE2b-256 | 9606ce864419578029856f69e91cf52324b668025e250986e529349e32e2ae4f |