if(botCommands[i].mod) { if( user["user-type"] != "mod" || user.username != channel.replace("#", "")) { break; } }