Update bot.js

This commit is contained in:
Alex
2020-03-25 08:09:00 -04:00
committed by GitHub
parent f6fe52dc16
commit 954f5a0641

View File

@@ -27,8 +27,8 @@ client.on("guildCreate", guild => {
client.on('guildMemberAdd', member => {
console.log(`New member joined: ${member.name} (id: ${member.id}).`);
client.user.setActivity(`${client.users.cache.size} of you horrible people`,{ type: 'LISTENING' });
});
client.user.setActivity(`${client.users.cache.size} of you horrible people`,{ type: 'LISTENING' });
client.on('guildMemberRemove', member => {
console.log(` member left: ${member.name} (id: ${member.id}).`);
client.user.setActivity(`${client.users.cache.size} of you horrible people`,{ type: 'LISTENING' });