From 2d26e7b563340cbe24ea2020be30143d8d42feed Mon Sep 17 00:00:00 2001 From: KagChi Date: Sat, 2 Mar 2024 10:54:07 +0700 Subject: [PATCH] fix: add guild id --- .../Listeners/Caches/GuildMembers/GuildMemberUpdateListener.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/services/kanao-cache/src/Listeners/Caches/GuildMembers/GuildMemberUpdateListener.ts b/services/kanao-cache/src/Listeners/Caches/GuildMembers/GuildMemberUpdateListener.ts index fc480cdf..6dfd5963 100644 --- a/services/kanao-cache/src/Listeners/Caches/GuildMembers/GuildMemberUpdateListener.ts +++ b/services/kanao-cache/src/Listeners/Caches/GuildMembers/GuildMemberUpdateListener.ts @@ -52,7 +52,8 @@ export class GuildMemberUpdateListener extends Listener { mute: payload.data.d.mute, nick: payload.data.d.nick, pending: payload.data.d.pending, - premiumSince: payload.data.d.premium_since + premiumSince: payload.data.d.premium_since, + guildId: payload.data.d.guild_id }).onConflictDoUpdate({ target: [members.id, members.guildId], set: {