hullcss-discord-bot/events/guildMemberAdd.js

15 lines
441 B
JavaScript

const { Permissions } = require('discord.js');
const client = require("../index");
const discord = require('discord.js');
client.on('guildMemberAdd', async guildmember =>{
const guild = client.guilds.cache.get('427865794467069962');
if(guild == guildmember.guild.id )
{
welcomechannel.send(`<:hi:858281121611513897> Welcome! **${guildmember.user}** has just joined the server! Grab some roles from: `);
}
})