Skip to content

Commit

Permalink
remove auto role
Browse files Browse the repository at this point in the history
  • Loading branch information
GregTCLTK committed May 25, 2023
1 parent ef92b52 commit aa8ce45
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions helper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@ export function sendBanMessage(ban: GuildBan, banned: boolean) {

export function sendJoinMessage(member: GuildMember) {
const embed = defaultEmbed(member.user);
const role = member.guild.roles.cache.get(config.role_id);
member.roles.add(role!, 'Verified');
embed.setTitle(`${embed.data.title} joined`).setColor('#FEE75C');
member.guild.channels.fetch(config.log_channel).then(channel => (channel as TextChannel).send({ embeds: [ embed ] }));
}
Expand Down

0 comments on commit aa8ce45

Please sign in to comment.