koishi-plugin-xsxn-vue3 1.0.14 → 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 +1 -1
- package/package.json +1 -1
- package/readme.md +2 -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 "兄弟,不要搞这种";
|
package/package.json
CHANGED