@azimiao/koishi-plugin-cafe-bot-exp 0.0.20 → 0.0.21
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 +6 -4
- package/package.json +1 -1
- package/readme.md +2 -0
package/lib/index.js
CHANGED
|
@@ -36,9 +36,11 @@ __export(src_exports, {
|
|
|
36
36
|
name: () => name4
|
|
37
37
|
});
|
|
38
38
|
module.exports = __toCommonJS(src_exports);
|
|
39
|
+
var import_url = require("url");
|
|
40
|
+
var import_path = require("path");
|
|
39
41
|
|
|
40
42
|
// package.json
|
|
41
|
-
var version = "0.0.
|
|
43
|
+
var version = "0.0.21";
|
|
42
44
|
|
|
43
45
|
// src/draw/index.ts
|
|
44
46
|
var draw_exports = {};
|
|
@@ -815,10 +817,10 @@ async function apply4(ctx, config) {
|
|
|
815
817
|
ctx.plugin(draw_exports, config);
|
|
816
818
|
ctx.plugin(quiz_exports, config);
|
|
817
819
|
ctx.plugin(cat_exports, config);
|
|
818
|
-
ctx.command("关于", "
|
|
820
|
+
ctx.command("关于", "关于本机器人的信息").action(async (argv, _) => {
|
|
819
821
|
argv.session?.send(
|
|
820
|
-
`<img src="
|
|
821
|
-
|
|
822
|
+
`<img src="${(0, import_url.pathToFileURL)((0, import_path.resolve)(__dirname, "logo.jpg")).href}"/>
|
|
823
|
+
Hi~我是轨迹CafeBot概念版v${version}🎉~
|
|
822
824
|
我运行在🖥️超级计算机『卡佩尔』上🛜
|
|
823
825
|
🔹 我提供轨迹抽卡🎴和轨迹问答🙋功能
|
|
824
826
|
🔹 另外我还有一些隐藏功能待你探索哦🎁
|
package/package.json
CHANGED