2In a bowl, mix 1/2 cup of softened butter, 1/2 cup of granulated sugar, and 1/3 cup of brown sugar.
3Add one egg and one teaspoon of vanilla extract and mix well.
4Add one cup of all-purpose flour, 1/2 cup of cocoa powder, 1/2 teaspoon of baking soda, and 1/2 teaspoon of baking powder. Mix until a dough forms.
5Scoop the dough onto a baking sheet and flatten each cookie.
6Bake for around 12 minutes and let them sit.
7For the frosting, mix together 1/3 cup of softened butter, 1 cup of powdered sugar, 1/3 cup of cocoa powder, 2 tablespoons of milk, 1 teaspoon of vanilla extract, and 1 teaspoon of cake batter extract.
8Pipe the chocolate frosting onto the cookies in a swirl.
9Top with crushed cookie bits and rainbow sprinkles.