Browse Source

Move location of commented out code for clarity

master
Abheek Dhawan 4 years ago
parent
commit
9fb6140261
  1. 6
      index.js

6
index.js

@ -241,9 +241,9 @@ client.on("guildMemberAdd", member => {
const botRole = member.guild.roles.cache.get("826871012724441158"); const botRole = member.guild.roles.cache.get("826871012724441158");
if (member.bot) { if (member.bot) {
member.roles.add(botRole).catch(console.error); member.roles.add(botRole).catch(console.error);
/*} else { } /*else {
member.roles.add(compRole).catch(console.error);*/ member.roles.add(compRole).catch(console.error);
} }*/
}); });
client.on('messageDelete', message => { client.on('messageDelete', message => {

Loading…
Cancel
Save