In a large bowl mix the flour, cocoa powder, baking powder, baking soda and salt. Set aside.
Melt the chocolate chips in the microwave at 30 second intervals. Set aside.
In a large mixing bowl, cream the butter and white granulated sugar. Then add the brown sugar, eggs, melted chocolate and vanilla extract. Mix well until smooth. Now add ½ the amount of the flour mixture and mix until incorporated. Then add the buttermilk and mix again until well blended. And finally add the last amount of flour mixture and mix again. Scrape the sides of the bowl to make sure everything is well incorporated and mix one last time until combined, do not over mix.
Line a cupcake baking pan with cupcake liners and fill them with the batter only halfway. Bake at 350ºF (180ºC) for about 18 minutes or until a toothpick inserted in the middle comes out clean. Allow to cool completely before frosting.
Fill a pastry bag with chocolate buttercream fitted with the tip of your choice (ex.: Wilton 1M star tip) and decorate each cupcake any way you want. Finish with sprinkles if desired.