Preheat oven to 180 degrees celsius (fan-forced). Grease and line a 20cm round cake tin with baking paper and set aside.
Insert the butterfly into the Thermomix bowl. Add the softened butter and brown sugar and cream for 1 minute, Speed 4 (scraping down the sides occasionally) or until pale and creamy.
Reduce to Speed 2 and add the egg and vanilla extract. Continue mixing for 15 seconds. Remove the butterfly.
Add the plain flour, bi-carbonate soda and sea salt and mix for 10 seconds, Speed 4. Scrape down the sides of the bowl and repeat for a further 5 seconds.
Add the chocolate chips and M&Ms and mix for 10 seconds, REVERSE, Speed 3, 10 (using the spatula to help mix).
Bake for 25 minutes or until just golden. Remove from the oven and allow to cool in the tin before transferring to a wire rack to cool completely before frosting.
To make the frosting, place the icing sugar into the TM bowl and mix for 10 seconds, Speed 9.
Add the butter, milk, vanilla extract and food colouring to the bowl. Mix for 30 seconds, Speed 4.
Pipe the frosting over the outside of the cookie cake and decorate with sprinkles (optional).