client.on("guildMemberAdd", member => {
let verifyChannel = client.guilds.cache.get("ID_Сервера").channels.cache.get("ID_Канала");
function ping() {
if (member .roles.cache.some(role => role.id != 'ID_Роли')) {
verifyChannel.send(`${member.user}`);
}
return;
}
setTimeout(ping, 10800000);
});