From 441d615dd7cf260be0c5a6f86d10c9441866ecb8 Mon Sep 17 00:00:00 2001 From: kieranrobson Date: Tue, 10 May 2022 22:03:11 +0100 Subject: [PATCH] Removed if statement --- events/guildMemberAdd.js | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/events/guildMemberAdd.js b/events/guildMemberAdd.js index 655ee07..e1d42a7 100644 --- a/events/guildMemberAdd.js +++ b/events/guildMemberAdd.js @@ -6,10 +6,6 @@ const discord = require('discord.js'); client.on('guildMemberAdd', async guildmember =>{ const guild = client.guilds.cache.get('427865794467069962'); const welcomechannel = client.channels.cache.get('427875246801027072') - if(guild == '427865794467069962') - { - welcomechannel.send(` Welcome! **${guildmember.user}** has just joined the server! Grab some roles from <#427873938333499404> and let us know who you are within <#427874873898041346>`); - - } + welcomechannel.send(` Welcome! **${guildmember.user}** has just joined the server! Grab some roles from <#427873938333499404> and let us know who you are within <#427874873898041346>`); }) \ No newline at end of file