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 5bd9f50818 feat: disable plugin when init failed 1 vuosi sitten
..
.gitignore plugin: add banwords plugin 1 vuosi sitten
README.md enhance: improve writing for README 1 vuosi sitten
WordsSearch.py plugin: add banwords plugin 1 vuosi sitten
__init__.py plugin: add banwords plugin 1 vuosi sitten
banwords.py feat: disable plugin when init failed 1 vuosi sitten
banwords.txt.template plugin: add banwords plugin 1 vuosi sitten
config.json.template plugin: add banwords plugin 1 vuosi sitten

README.md

插件描述

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

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

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

致谢

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