client.on('roleCreate', async (role, member) => {
let sChannel = role.guild.channels.find(`id`, "677997921974616084");
const bilgilendir = await role.guild.fetchAuditLogs({type: "createRole"}).then(hatırla => hatırla.entries.first())
let yapanad= bilgilendir.executor;
sChannel.send(`**${yapanad} Bir rol ekledi koruma nedeniyle silindi
Silinen Rol:** \`${role.name}\``)
.then(() => console.log(`${role.name} adlı rol silindi`))
.catch(console.error);
role.delete()
});