koishi-plugin-nmc-radar 1.4.3 → 1.4.4

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.
Files changed (2) hide show
  1. package/lib/index.js +1 -1
  2. package/package.json +1 -1
package/lib/index.js CHANGED
@@ -343,7 +343,7 @@ function apply(ctx, config) {
343
343
  }
344
344
  }
345
345
  });
346
- const command = ctx.command("radar <name:string>", "查看雷达图").alias("雷达").option("name", "--name <name:string> 雷达站名称").option("count", "-n <count:number> 最大输出数量").option("reverse", "-R 反转顺序").option("type", "--type <type:string> 输出类型", { type: Object.keys(resolvers) }).option("type", "--img 输出图片", { value: "img" }).option("type", "--url 输出 URL", { value: "url" }).action(async ({ session, options = {} }, name2) => {
346
+ const command = ctx.command("radar <name:string>", "查看雷达图").option("name", "--name <name:string> 雷达站名称").option("count", "-n <count:number> 最大输出数量").option("reverse", "-R 反转顺序").option("type", "--type <type:string> 输出类型", { type: Object.keys(resolvers) }).option("type", "--img 输出图片", { value: "img" }).option("type", "--url 输出 URL", { value: "url" }).action(async ({ session, options = {} }, name2) => {
347
347
  options.name ??= name2;
348
348
  if (!(name2 in radars_default))
349
349
  return void session?.send(session.text(".messages.unknown"));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "koishi-plugin-nmc-radar",
3
- "version": "1.4.3",
3
+ "version": "1.4.4",
4
4
  "description": "气象台雷达图插件",
5
5
  "typings": "lib/index.d.ts",
6
6
  "license": "MIT",