Skip to main content

Anti flash pictures in groups

Project description

Anti Flash

🎇 反闪照 🎇

版本

v0.2.3

⚠ 适配nonebot2-2.0.0beta.2

👉 适配alpha.16版本参见alpha.16分支

更新日志

安装

  1. 通过pipnb安装;

  2. env内设置:

    ANTI_FLASH_ON=true                          # 全局开关
    ANTI_FLASH_GROUP=["123456789", "987654321"] # 默认开启的群聊,但可通过指令开关
    ANTI_FLASH_PATH="your-path-to-config.json"  # 配置文件路径,默认同插件代码路径
    

    ANTI_FLASH_GROUP会在每次初始化时写入配置文件,在群组启用反闪照,可通过指令更改。

    修改 配置文件即读即改,可后台修改。

功能

  1. 全局开关仅超管配置,不支持指令修改全局开关;

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

命令

开启/启用/禁用反闪照

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nonebot-plugin-antiflash-0.2.3.tar.gz (4.5 kB view hashes)

Uploaded Source

Built Distribution

nonebot_plugin_antiflash-0.2.3-py3-none-any.whl (5.0 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page