Update bot.js

This commit is contained in:
Alex 2020-03-25 08:09:00 -04:00 committed by GitHub
parent f6fe52dc16
commit 954f5a0641
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

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' });