Skip to content

Commit

Permalink
fix: 修复进群没有通知
Browse files Browse the repository at this point in the history
  • Loading branch information
yusheng929 committed Aug 7, 2024
1 parent ff92aae commit 7d84c3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/进退群通知.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export const accept = karin.accept('notice.group_member_increase', async (e) =>
if (e.user_id == e.bot.uin) return;
const key = `Karin:newcomers:${e.group_id}`;
if (await redis.get(key)) return;
await redis.set(key, "1", { EX: Other.accept.cd });
await redis.set(key, "1", { EX: Config.Other.accept.cd });
await e.reply('\n欢迎加入本群୯(⁠*⁠´⁠ω⁠`⁠*⁠)୬', { at: true })
return true
})
Expand Down

0 comments on commit 7d84c3f

Please sign in to comment.