Skip to content

Commit

Permalink
link leaker shit
Browse files Browse the repository at this point in the history
  • Loading branch information
skysthelimitt committed Jan 13, 2024
1 parent 57cdd07 commit 4f21e68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion commands/moderation/linkLeakerChecker.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ module.exports = {
foundLeakers[leakers.indexOf(member.user.id)][2] = true;
const leak = interaction.guild.members.cache.get(member.user.id);
let leakerRole = interaction.guild.roles.cache.find((role) => role.name === "link leakers");
//leak.roles.add(leakerRole);
leak.roles.add(leakerRole);
const logsChannel = interaction.client.channels.cache.get(logs_channel.toString());
logsChannel.send(`${member.user.tag} was detected as a link leaker.`);
}
Expand Down

0 comments on commit 4f21e68

Please sign in to comment.