koishi-plugin-xsxn-vue3 1.0.14 → 1.0.16
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 +2 -2
- package/package.json +1 -1
- package/readme.md +4 -0
package/lib/index.js
CHANGED
|
@@ -97,7 +97,7 @@ async function apply(ctx, cfg) {
|
|
|
97
97
|
return getPage(cfg.url + `/queryCompanion?name=${name2}`, _.session);
|
|
98
98
|
});
|
|
99
99
|
ctx.command("queryTianzhu <name>").alias("天柱").action((_, name2) => {
|
|
100
|
-
if (name2 == void 0 || name2.length
|
|
100
|
+
if (name2 == void 0 || name2.length == 0)
|
|
101
101
|
return "参数不可为空,如:天柱+空格+电母";
|
|
102
102
|
if (name2 == "铜币" || name2 == "灵石")
|
|
103
103
|
return "兄弟,不要搞这种";
|
|
@@ -132,7 +132,7 @@ async function apply(ctx, cfg) {
|
|
|
132
132
|
quality: 100
|
|
133
133
|
});
|
|
134
134
|
await page.close();
|
|
135
|
-
return import_koishi.h.image(screenshot, "image/png")
|
|
135
|
+
return `${import_koishi.h.quote(session.messageId)}${import_koishi.h.image(screenshot, "image/png")}`;
|
|
136
136
|
}
|
|
137
137
|
__name(getPage, "getPage");
|
|
138
138
|
}
|
package/package.json
CHANGED
package/readme.md
CHANGED
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
# koishi-plugin-xsxn-vue3
|
|
2
2
|
|
|
3
3
|
[](https://www.npmjs.com/package/koishi-plugin-xsxn-vue3)
|
|
4
|
+
- ### 1.0.16
|
|
5
|
+
- 添加回复引用
|
|
6
|
+
- ### 1.0.15
|
|
7
|
+
- 兼容天柱单字搜索
|
|
4
8
|
- ### 1.0.14
|
|
5
9
|
- 压缩截图质量
|
|
6
10
|
- ### 1.0.11
|