It sounds like you don't actually think that someone ought to respect the work you did as a programmer; you had little training, little time, and weren't following good coding practices.
I think it would be healthy to approach it from an attitude of communicating that you did what you needed to to get traction, but now you're ready to learn about how to write code that scales while meeting deadlines, and you need their help and experience to do that. It is possible.
Respecting you as a person is a prerequisite, and that'll come from your sincerity to improve as a programmer and build a team that trusts each other and keeps getting better. Respecting your code isn't a prerequisite. Your code is bad. It's okay. It would happen to anyone in your situation. Rewriting a startup's codebase from scratch after a seed round is not uncommon!
Hope that helps and isn't condescending; I'm writing this comment quickly.
I think it would be healthy to approach it from an attitude of communicating that you did what you needed to to get traction, but now you're ready to learn about how to write code that scales while meeting deadlines, and you need their help and experience to do that. It is possible.
Respecting you as a person is a prerequisite, and that'll come from your sincerity to improve as a programmer and build a team that trusts each other and keeps getting better. Respecting your code isn't a prerequisite. Your code is bad. It's okay. It would happen to anyone in your situation. Rewriting a startup's codebase from scratch after a seed round is not uncommon!
Hope that helps and isn't condescending; I'm writing this comment quickly.