koishi-plugin-test-sm-nextmap 0.0.4 → 0.0.5

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
@@ -41,7 +41,7 @@ function apply(ctx, config) {
41
41
  return "Missing map name";
42
42
  }
43
43
  ctx.logger.info(`收到服务器通知: [${type}] 地图: ${map}`);
44
- const message = type === "Test" ? `🎮 [测试] 服务器连接成功!当前地图: ${map}` : `🎮 [换图] 服务器即将更换地图,下一张图是: ${map}`;
44
+ const message = type === "Test" ? `🎮 [测试] 服务器连接成功!地图: ${map}` : `更换地图: ${map}`;
45
45
  const bot = ctx.bots.find((b) => b.platform === config.targetPlatform);
46
46
  if (bot) {
47
47
  bot.sendMessage(config.targetChannelId, message).catch((err) => {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "koishi-plugin-test-sm-nextmap",
3
3
  "description": "",
4
- "version": "0.0.4",
4
+ "version": "0.0.5",
5
5
  "main": "lib/index.js",
6
6
  "typings": "lib/index.d.ts",
7
7
  "files": [