In a saucepan, melt the butter and sugars over low heat. Add the milk and turn off the heat.
Add the chocolate to the saucepan, letting it melt. Stir until smooth.
Sift the flour and cocoa powder into a large bowl.
Pour the wet ingredients into the dry ingredients and mix until combined.