OH SHIT
This commit is contained in:
parent
d80b098d93
commit
f289a865a0
2
index.js
2
index.js
|
@ -400,7 +400,7 @@ client.on('guildMemberAdd', async (member) => { // We're just gonna always send
|
|||
})
|
||||
})
|
||||
|
||||
if (defcon <= 4) {
|
||||
if (defcon <= 3) {
|
||||
// DM user saying Invites are disabled for security reasons, then kick them with the same reason
|
||||
member.send("Invites are currently disabled for security reasons. Please contact a staff member for assistance.").then(() => {
|
||||
member.kick(`DEFCON ${defcon}`);
|
||||
|
|
Loading…
Reference in a new issue