@q78kg/koishi-plugin-text-censor 1.0.4-beta.7 → 1.0.4-beta.9
Sign up to get free protection for your applications and to get access to all the features.
- package/lib/index.js +1 -2
- package/package.json +1 -1
package/lib/index.js
CHANGED
@@ -45,10 +45,9 @@ var Config = import_koishi.Schema.intersect([
|
|
45
45
|
import_koishi.Schema.object({
|
46
46
|
textDatabase: import_koishi.Schema.array(
|
47
47
|
import_koishi.Schema.tuple([
|
48
|
-
import_koishi.Schema.string().role("text"),
|
49
48
|
import_koishi.Schema.string().default("data/text-censor/censor.txt")
|
50
49
|
])
|
51
|
-
).description("敏感词库的文件路径。").default([["
|
50
|
+
).description("敏感词库的文件路径。").default([["data/text-censor/censor.txt"]])
|
52
51
|
}),
|
53
52
|
import_koishi.Schema.object({
|
54
53
|
removeWords: import_koishi.Schema.boolean().description("是否直接删除敏感词。").default(false),
|