Skip to main content

Anti-insult in NoneBot2

Project description

nonebot-plugin-antiinsult

NoneBot 反嘴臭插件

license pypi python

📖 介绍

本插件为被动插件

检测到有用户 @机器人 并嘴臭时将其临时屏蔽(bot重启后失效)
当bot为群管理时会请对方喝昏睡红茶(禁言)

超级用户不受临时屏蔽影响 但是会被昏睡红茶影响 (当bot的群权限比超级用户高的时候会请超级用户喝昏睡红茶)

增删屏蔽词库:
聊天发送 添加/删除屏蔽词 xxx xxx xxx ...

P.S. 你说从聊天界面查看屏蔽词库? 噢, 我亲爱的老伙计, 你怕是疯了!

💿 安装

使用 nb-cli 安装
在 nonebot2 项目的根目录下打开命令行, 输入以下指令即可安装

nb plugin install nonebot-plugin-antiinsult

使用 pip 安装

pip install nonebot-plugin-antiinsult

打开 nonebot2 项目的 bot.py 文件, 在其中写入

nonebot.load_plugin('nonebot_plugin_antiinsult')

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_antiinsult-0.2.0.tar.gz (6.3 kB view details)

Uploaded Source

Built Distribution

File details

Details for the file nonebot_plugin_antiinsult-0.2.0.tar.gz.

File metadata

File hashes

Hashes for nonebot_plugin_antiinsult-0.2.0.tar.gz
Algorithm Hash digest
SHA256 a0c8ab6361291528e91fd33ce4a650cba8a66d093e468f4171508de2606fa7ae
MD5 de7b3c259d6de5a6b5526dbd95e36a05
BLAKE2b-256 ed4383706181c0cfaa065ef001b392ad92deff9d1e00688e180a2b9de086c439

See more details on using hashes here.

File details

Details for the file nonebot_plugin_antiinsult-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for nonebot_plugin_antiinsult-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 21103bfdf8392dd3810f1a4bd1e2c25ecc026f63c8ad3a25db1cbf6212dc9ab8
MD5 92f86891d6b8db6522e2455079ac718b
BLAKE2b-256 e409808245551287197284e05b1620c0dbf767e0180cb7953a2407c14529bdb9

See more details on using hashes here.

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