I added a little bleach to the water of my igloo ice maker to keep the water in it from getting slimy?

I was gone for 3 days and thought the bleach would keep the water clear and I could clean it when I got back. Turns out everything in it was covered with black something. I don't know if it was mold or what, even the shiny metal parts were scarred to the point of no return. Can someone tell me what happened?
8 answers 8