Updated welcome message guild
parent
7077137d75
commit
d6e8f7a27c
|
@ -6,6 +6,11 @@ const discord = require('discord.js');
|
||||||
client.on('guildMemberAdd', async (guildmember) =>{
|
client.on('guildMemberAdd', async (guildmember) =>{
|
||||||
const guild = client.guilds.cache.get('427865794467069962');
|
const guild = client.guilds.cache.get('427865794467069962');
|
||||||
const welcomechannel = client.channels.cache.get('427875246801027072')
|
const welcomechannel = client.channels.cache.get('427875246801027072')
|
||||||
|
const guild = client.guilds.cache.get('427865794467069962');
|
||||||
|
|
||||||
welcomechannel.send({ content: `<a:WavingHand:973689926258393169> Welcome! **${guildmember.user}** has just joined the server! Grab some roles from <#427873938333499404> and let us know who you are within <#427874873898041346>`})
|
if(guild == guildmember.guild.id )
|
||||||
|
{
|
||||||
|
welcomechannel.send({ content: `<a:WavingHand:973689926258393169> Welcome! **${guildmember.user}** has just joined the server! Grab some roles from <#427873938333499404> and let us know who you are within <#427874873898041346>`})
|
||||||
|
|
||||||
|
}
|
||||||
})
|
})
|
Loading…
Reference in New Issue