Cleaned up repo and separated both bots into their respective folders

This commit is contained in:
Sid 2023-04-14 15:54:26 +02:00
parent 5414de60ca
commit a9fda1fcb7
3134 changed files with 382980 additions and 31 deletions

17
sidBot-js/welcome.js Normal file
View file

@ -0,0 +1,17 @@
module.exports = client => {
client.on("guildMemberAdd", member => {
const channelID = 'X';
console.log(member)
const message = `**Welcome to the server, <@${member.id}>!**`;
const channel = member.guild.channels.cache.get(channelID);
channel.send(message);
})
}