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 anno fa
..
.gitignore plugin: add banwords plugin 1 anno fa
README.md enhance: improve writing for README 1 anno fa
WordsSearch.py plugin: add banwords plugin 1 anno fa
__init__.py feat: add installp/uninstallp command 1 anno fa
banwords.py feat: disable plugin when init failed 1 anno fa
banwords.txt.template plugin: add banwords plugin 1 anno fa
config.json.template plugin: add banwords plugin 1 anno fa

README.md

插件描述

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

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

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

致谢

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