插件可以增加一个自动黑名单功能吗

来自群友口袋的插件请求:novelai 插件检测违禁词,不仅删除违禁词,同时给出警告;三次违反自动添加黑名单

群聊记录:

image

1 个赞

帮顶 紫薯布丁

1 个赞

image

1 个赞

我认为这里的需求超出了novelai插件的能力,比如你可以注册中间件,检查当前的命令及其参数,然后阻止你不想要的人使用该插件。

I think the demand here is beyond the ability of novelai plugin, like you could register the middleware that checks the current command and its arguments, then block the one you don’t want whom could use the plugin.

1 个赞