koishi-plugin-toram 4.0.1 → 4.0.3

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 +5 -2
  2. package/package.json +1 -1
package/lib/index.js CHANGED
@@ -322,8 +322,9 @@ async function command_monthlyCardRemind(event, args) {
322
322
  event.config.monthlyCardReminder_latenightTime
323
323
  ];
324
324
  TalkMgr.Inst().reply(event, "正常回复", {
325
- title: "月卡提醒设置成功!",
326
- result: `你已将月卡提醒时间设置为${args[0]}(${hours[timeIndex]}点10分)`,
325
+ title: "月卡提醒设置成功!\n",
326
+ result: `你已将月卡提醒时间设置为${args[0]}(${hours[timeIndex]}点10分)
327
+ `,
327
328
  tips: "魔导书会在每天对应的时间点提醒你领取月卡哦~"
328
329
  });
329
330
  }
@@ -512,6 +513,8 @@ async function apply(ctx, config) {
512
513
  const bot = ctx.bots.find((bot2) => bot2.selfId === config.qq);
513
514
  TalkMgr.Inst().setBot(bot);
514
515
  TalkMgr.Inst().setTalks();
516
+ UserMgr.Inst().setUsers();
517
+ MonsterMgr.Inst().setMonsters();
515
518
  monthlyCardReminderDailyTask(config.groupId, [
516
519
  config.monthlyCardReminder_midnightTime,
517
520
  config.monthlyCardReminder_morningTime,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "koishi-plugin-toram",
3
3
  "description": "托拉姆物语小工具",
4
- "version": "4.0.1",
4
+ "version": "4.0.3",
5
5
  "contributors": [
6
6
  "青灯 <1874053520@qq.com>"
7
7
  ],