Update 'src/index.ts'
This commit is contained in:
parent
00edad84fa
commit
aa3edbedf3
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue