mirror of
https://github.com/Alee14/AleeBot.git
synced 2025-01-23 11:41:51 -05:00
Updating stuff
This commit is contained in:
parent
3af3a1127a
commit
12921d5a4b
1 changed files with 2 additions and 2 deletions
|
@ -22,11 +22,11 @@ client.on('ready', () => {
|
|||
});
|
||||
//Only works for AleeAmry Community I need someone to work it for Public and it's disabled because it crashes AleeBot :(
|
||||
client.on("guildMemberAdd", function(member) {
|
||||
member.guild.channels.find("name", "welcomes-and-byes").sendMessage(member.toString() + " Welcome to the AleeArmy!");
|
||||
member.guild.channels.find("name", "welcomes-and-byes").sendMessage(member.toString() + " has joined the server");
|
||||
});
|
||||
|
||||
client.on("guildMemberRemove", function(member) {
|
||||
member.guild.channels.find("name", "welcomes-and-byes").sendMessage(member.toString() + " Nice knowing you bye...");
|
||||
member.guild.channels.find("name", "welcomes-and-byes").sendMessage(member.toString() + " has left the server");
|
||||
});
|
||||
|
||||
/*
|
||||
|
|
Loading…
Add table
Reference in a new issue