Grease the insert of a large (5 to 7-quart) crock pot with cooking spray. Mix the sugar, flour, unsweetened cocoa, baking powder, and salt together in a large bowl. Whisk in milk, melted butter, and vanilla until combined. Spread the batter evenly in the bottom of the greased crock pot insert.