Update 'src/index.ts'

This commit is contained in:
Lea 2023-05-08 17:21:12 +00:00
parent e7cd1b98fd
commit 3ab5aac054

View file

@ -542,10 +542,10 @@ client.on('member/join', async (member) => {
if (age < 48) await setProbation(member, true);
}
else if (!profile?.background && !member.user?.avatar) {
if (age < 2) await setProbation(member, true);
if (age < 8) await setProbation(member, true);
}
else {
// if (age < 1) await setProbation(member, true);
if (age < 4) await setProbation(member, true);
}
}
} catch(e) {