koishi-plugin-toram 4.2.3 → 4.2.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.
- package/lib/index.js +1 -0
- package/package.json +1 -1
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 /* 通过 */) {
|