diff --git a/src/modules/bot.ts b/src/modules/bot.ts index cc342af..15a3782 100644 --- a/src/modules/bot.ts +++ b/src/modules/bot.ts @@ -260,6 +260,7 @@ client.on(Events.PresenceUpdate, async (oldMember, newMember) => { return; } if (!highestBotRolePosition || highestBotRolePosition <= role.position) return; + if (newMember.member?.roles.cache.has(role.id)) return; if (permanent) { writeIntPoint('roles_added', 'permanent_roles_added', 1); } else {