Update 'src/index.ts'

This commit is contained in:
Lea 2023-03-18 13:07:12 +00:00
parent 00edad84fa
commit aa3edbedf3

View file

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