You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
lanvent 3c6d42b22e feat: add installp/uninstallp command пре 1 година
..
.gitignore plugin: add banwords plugin пре 1 година
README.md enhance: improve writing for README пре 1 година
WordsSearch.py plugin: add banwords plugin пре 1 година
__init__.py feat: add installp/uninstallp command пре 1 година
banwords.py feat: disable plugin when init failed пре 1 година
banwords.txt.template plugin: add banwords plugin пре 1 година
config.json.template plugin: add banwords plugin пре 1 година

README.md

插件描述

简易的敏感词插件,暂不支持分词,请自行导入词库到插件文件夹中的banwords.txt,每行一个词,一个参考词库是1

config.json中能够填写默认的处理行为,目前行为有:

  • ignore : 无视这条消息。
  • replace : 将消息中的敏感词替换成”*“,并回复违规。

致谢

搜索功能实现来自https://github.com/toolgood/ToolGood.Words