koishi-plugin-xsxn-vue3 1.0.13 → 1.0.15
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 +3 -1
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 "兄弟,不要搞这种";
|
|
@@ -129,7 +129,7 @@ async function apply(ctx, cfg) {
|
|
|
129
129
|
const screenshot = await element.screenshot({
|
|
130
130
|
type: "jpeg",
|
|
131
131
|
encoding: "binary",
|
|
132
|
-
quality:
|
|
132
|
+
quality: 100
|
|
133
133
|
});
|
|
134
134
|
await page.close();
|
|
135
135
|
return import_koishi.h.image(screenshot, "image/png");
|
package/package.json
CHANGED
package/readme.md
CHANGED
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
# koishi-plugin-xsxn-vue3
|
|
2
2
|
|
|
3
3
|
[](https://www.npmjs.com/package/koishi-plugin-xsxn-vue3)
|
|
4
|
-
- ### 1.0.
|
|
4
|
+
- ### 1.0.15
|
|
5
|
+
- 兼容天柱单字搜索
|
|
6
|
+
- ### 1.0.14
|
|
5
7
|
- 压缩截图质量
|
|
6
8
|
- ### 1.0.11
|
|
7
9
|
- 喜好指令修改为-卡池- 可搜索建筑,控制同伴搜索条件
|