hullcss-discord-bot/events/guildMemberAdd.js

11 lines
557 B
JavaScript
Raw Normal View History

2022-05-10 01:17:25 +01:00
const { Permissions } = require('discord.js');
const client = require("../index");
const discord = require('discord.js');
2022-05-12 23:53:02 +01:00
client.on('guildMemberAdd', async (guildmember) =>{
2022-05-10 01:17:25 +01:00
const guild = client.guilds.cache.get('427865794467069962');
2022-05-10 21:57:11 +01:00
const welcomechannel = client.channels.cache.get('427875246801027072')
2022-05-12 23:51:21 +01:00
2022-05-10 22:19:11 +01:00
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>`})
2022-05-10 01:17:25 +01:00
})