@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 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.20";
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("关于", "about").action(async (argv, _) => {
820
+ ctx.command("关于", "关于本机器人的信息").action(async (argv, _) => {
819
821
  argv.session?.send(
820
- `<img src="https://www.azimiao.com/wp-content/uploads/2025/05/cafe-wide.jpg"/>
821
- ${At(argv)}Hi~我是轨迹CafeBot概念版v${version}🎉~
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
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@azimiao/koishi-plugin-cafe-bot-exp",
3
3
  "description": "cafe bot experiment",
4
- "version": "0.0.20",
4
+ "version": "0.0.21",
5
5
  "main": "lib/index.js",
6
6
  "typings": "lib/index.d.ts",
7
7
  "repository": {
package/readme.md CHANGED
@@ -2,4 +2,6 @@
2
2
 
3
3
  [![npm](https://img.shields.io/npm/v/@azimiao/koishi-plugin-cafe-bot-exp?style=flat-square)](https://www.npmjs.com/package/@azimiao/koishi-plugin-cafe-bot-exp)
4
4
 
5
+ ![logo](./src/logo.jpg)
6
+
5
7
  基于 QQ 官方机器人的轨迹 Cafe 群 Bot 代码,包含每日抽卡,答题等功能。