koishi-plugin-toram 4.2.2 → 4.2.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.
package/lib/index.js CHANGED
@@ -949,6 +949,7 @@ async function apply(ctx, config) {
949
949
  scheduleMonthlyCardFinalReminder(config.groupId);
950
950
  ctx.on("notice", (session) => {
951
951
  if (config.sendDialog) logger.info(session);
952
+ if (session.event._data.targetId !== config.qq) return;
952
953
  const event = newEvent(ctx, session, config, logger);
953
954
  const result = confirmMonthlyCardGet(event);
954
955
  if (result.code === 1001 /* 通过 */) {
@@ -6,7 +6,7 @@
6
6
  "@_result_@"
7
7
  ],
8
8
  "被@":[
9
- "魔导书现在提供这些功能哦:\n1.升级 等级【查询升级头目】\n如:升级 220\n2.月卡提醒 时间段【设置月卡提醒时间】\n时间段可选:凌晨(@_MCRMidnight_@点10分) 早上(@_MCRMorning_@点10分) 中午(@_MCRNoon_@点10分) 下午(@_MCRAfternoon_@点10分) 晚上(@_MCREvening_@点10分) 深夜(@_MCRLatenight_@点10分)\n如:月卡提醒 晚上\n3.取消月卡提醒"
9
+ "魔导书现在提供这些功能哦:\n1.升级 等级【查询升级头目】\n如:升级 220\n2.月卡提醒 时间段【设置月卡提醒时间】\n时间段可选:凌晨(@_MCRMidnight_@点10分) 早上(@_MCRMorning_@点10分) 中午(@_MCRNoon_@点10分) 下午(@_MCRAfternoon_@点10分) 晚上(@_MCREvening_@点10分) 深夜(@_MCRLatenight_@点10分)\n如:月卡提醒 晚上\n3.取消月卡提醒\n4.我领月卡啦【告诉魔导书你今天领了月卡,也可以戳一戳魔导书代替。每天23点30分魔导书会对没有确认的人再次提醒】"
10
10
  ],
11
11
  "无权限": [
12
12
  "抱歉,只有青灯同意的人才能这么做哦?"
@@ -32,6 +32,11 @@
32
32
  "@_atUsers_@ \n布谷布谷,领月卡的时间到啦~",
33
33
  "@_atUsers_@ \n快去领今天的月卡吧!"
34
34
  ],
35
+ "月卡最后提醒": [
36
+ "@_atUsers_@ \n你今天还没有领月卡!快去!",
37
+ "@_atUsers_@ \n你——的——月——卡——要——断——了——!",
38
+ "@_atUsers_@ \n魔导书叫你领月卡为什么不领!【恼】"
39
+ ],
35
40
  "月卡确认领取": [
36
41
  "领月卡是好文明!",
37
42
  "看来今天也有好好领月卡呢~",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "koishi-plugin-toram",
3
3
  "description": "托拉姆物语小工具",
4
- "version": "4.2.2",
4
+ "version": "4.2.4",
5
5
  "contributors": [
6
6
  "青灯 <1874053520@qq.com>"
7
7
  ],