Preheat oven to 170 Degree C. Line a baking sheet with parchment and set aside.
Now take butter, sugar, vanilla in a bowl and cream well.
Add in cocoa powder and cream again. Add in flour, baking soda and baking powder and mix well to form a dough.
Take a portion of dough and shape it into balls.
Arrange it in a baking tray and flatten it slightly.
Bake this in oven for 15 mins. Remove it from oven and let it cool on the tray for 15 mins..Because it will get hard as it cools
While the cookies are cooling, make icing. Take everything except sprinkles in a sauce pan and heat till it is melted. Remove it from heat and cool it slightly.
Now pour this over the cookies and top with sprinkles.
Let this set for 2 hours. Now store this in air tight container.