fix(bots/discord): give only removed roles for role presets

This commit is contained in:
PalmDevs
2024-08-23 18:05:48 +07:00
parent 94c4fedc06
commit 522ad28fd8
6 changed files with 47 additions and 25 deletions

View File

@@ -12,5 +12,5 @@ withContext(on, 'guildMemberAdd', async ({ database }, member) => {
),
})
for (const { preset } of applieds) await applyRolesUsingPreset(preset, member, true)
for (const { preset } of applieds) await applyRolesUsingPreset(preset, member)
})