mirror of
https://github.com/AsgardEternal/SquadJS.git
synced 2024-09-28 16:24:25 -05:00
Update discord-cheater.js
This commit is contained in:
parent
9ae38a0e0c
commit
100c12c4a9
@ -80,7 +80,9 @@ export default class DiscordCheater extends DiscordBasePlugin {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
if (info.probcheat ? info.probcheat === 'high' : true) {
|
if (info.probcheat ? info.probcheat === 'high' : true) {
|
||||||
await this.server.rcon.kick(info.player.steamID, 'R14 | Cheating - highly suspected');
|
if (info.player){
|
||||||
|
await this.server.rcon.kick(info.player.steamID, 'R14 | Cheating - highly suspected');
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user