Browse Source

Temporarily remove userUpdate

master
Abheek Dhawan 4 years ago
parent
commit
049e57f2b9
  1. 4
      index.js

4
index.js

@ -331,7 +331,7 @@ client.on('channelCreate', channel => {
}); });
}); });
client.on('userUpdate', (oldUser, newUser) => { /*client.on('userUpdate', (oldUser, newUser) => {
if (oldUser.bot) { if (oldUser.bot) {
return; return;
} }
@ -359,6 +359,6 @@ client.on('userUpdate', (oldUser, newUser) => {
client.channels.cache.get(botLogsChannel).send(userUpdateEmbed).catch(console.error); client.channels.cache.get(botLogsChannel).send(userUpdateEmbed).catch(console.error);
} }
}); });
}); });*/
client.login(process.env.BOT_TOKEN); client.login(process.env.BOT_TOKEN);

Loading…
Cancel
Save