koishi-plugin-starfx-bot 0.3.0 → 0.3.2

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.d.ts CHANGED
@@ -10,7 +10,7 @@ export interface Config {
10
10
  iLoveYou: boolean;
11
11
  }
12
12
  export declare const Config: Schema<Config>;
13
- export declare const usage = "StarFreedomX\u7684\u81EA\u7528\u63D2\u4EF6 \u653E\u4E86\u4E00\u4E9B\u5C0F\u529F\u80FD";
13
+ export declare const usage = "<h5>StarFreedomX\u7684\u81EA\u7528\u63D2\u4EF6 \u653E\u4E86\u4E00\u4E9B\u5C0F\u529F\u80FD</h5>\n ";
14
14
  export declare function apply(ctx: Context, cfg: Config): void;
15
15
  export declare function getImageSrc(session: Session, param: string): Promise<any>;
16
16
  export declare function drawLock(baseImage: string): Promise<h | "输入无效。" | "发生错误。">;
package/lib/index.js CHANGED
@@ -50,11 +50,12 @@ var assetsDir;
50
50
  var Config = import_koishi.Schema.object({
51
51
  openLock: import_koishi.Schema.boolean().default(true).description("开启明日方舟封印功能"),
52
52
  openSold: import_koishi.Schema.boolean().default(true).description('开启闲鱼"卖掉了"功能'),
53
- atNotSay: import_koishi.Schema.boolean().default(true).description("开启‘艾特我又不说话’功能"),
53
+ atNotSay: import_koishi.Schema.boolean().default(true).description("开启‘艾特我/他又不说话’功能"),
54
54
  replyBot: import_koishi.Schema.boolean().default(true).description("开启回复‘机器人’功能"),
55
55
  iLoveYou: import_koishi.Schema.boolean().default(true).description("开启‘我喜欢你’功能")
56
56
  });
57
- var usage = "StarFreedomX的自用插件 放了一些小功能";
57
+ var usage = `<h5>StarFreedomX的自用插件 放了一些小功能</h5>
58
+ `;
58
59
  function apply(ctx, cfg) {
59
60
  baseDir = ctx.baseDir;
60
61
  assetsDir = `${ctx.baseDir}/data/starfx-bot/assets`;
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "contributors": [
5
5
  "StarFreedomX <starfreedomx@outlook.com>"
6
6
  ],
7
- "version": "0.3.0",
7
+ "version": "0.3.2",
8
8
  "main": "lib/index.js",
9
9
  "typings": "lib/index.d.ts",
10
10
  "files": [
package/readme.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # koishi-plugin-starfx-bot
2
2
 
3
- [![npm](https://img.shields.io/npm/v/koishi-plugin-starfx-bot?style=flat-square)](https://www.npmjs.com/package/koishi-plugin-starfx-bot)
3
+ [![npm](https://img.shields.io/npm/v/koishi-plugin-starfx-bot?style=flat-square)](https://www.npmjs.com/package/koishi-plugin-starfx-bot) [![npm](https://img.shields.io/npm/l/koishi-plugin-starfx-bot?style=flat-square)](https://www.npmjs.com/package/koishi-plugin-starfx-bot) [![npm](https://img.shields.io/npm/dt/koishi-plugin-starfx-bot?style=flat-square)](https://www.npmjs.com/package/koishi-plugin-starfx-bot)
4
4
 
5
5
  StarFreedomX机器人的小功能,自用
6
+
7
+ 已加入的功能列表:
8
+
9
+ * 明日方舟封印功能
10
+ * 闲鱼“卖掉了”功能
11
+ * 艾特我/他又不说话
12
+ * 我才不是机器人!
13
+ * 我也喜欢你!