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