koishi-plugin-cocoyyy-console 1.1.1-beta.1 → 1.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/index.js
CHANGED
|
@@ -44,6 +44,7 @@ var import_koishi13 = require("koishi");
|
|
|
44
44
|
var import_koishi = require("koishi");
|
|
45
45
|
var FunctionConfigSchema = import_koishi.Schema.object({
|
|
46
46
|
dev_mode: import_koishi.Schema.boolean().default(false).description("开发测试模式"),
|
|
47
|
+
reload_button: import_koishi.Schema.boolean().default(true).description("重载开关(用于重载无实际用途)"),
|
|
47
48
|
tag_flag: import_koishi.Schema.boolean().default(true).description("标签功能是否启用"),
|
|
48
49
|
repeat_flag: import_koishi.Schema.boolean().default(true).description("复读功能是否启用"),
|
|
49
50
|
rbq_flag: import_koishi.Schema.boolean().default(true).description("*人功能是否启用"),
|
|
@@ -1583,7 +1584,7 @@ async function checkShitOrNot(session, parttern_msg, config) {
|
|
|
1583
1584
|
logger.warn("[checkShitOrNot Warn]: 引用消息中未发现文本或图片");
|
|
1584
1585
|
return "引用消息中未发现文本或图片";
|
|
1585
1586
|
}
|
|
1586
|
-
logger.info("[checkShitOrNot Info]: 提取图片 URL
|
|
1587
|
+
logger.info("[checkShitOrNot Info]: 提取图片 URL: " + imageUrls.join(", "));
|
|
1587
1588
|
const targetContent = [
|
|
1588
1589
|
...text ? [{ type: "text", text }] : [],
|
|
1589
1590
|
...imageUrls.map((url) => ({ type: "image_url", image_url: { url } }))
|