Preheat the oven to 180'C/Gas 4 and line a 12-hole muffin tin with 12 cupcake cases. Set aside.
Make the cake batter by placing the butter and sugar in a large mixing bowl and beating with an electric mixer until pale. Add the eggs and beat again until combined. Then add the flour, xantham gum and Baileys and beat again until completely mixed.
Spoon evenly between the cupcake cases. Bake in the oven for 20-25 minutes until a skewer inserted in the middle comes out clean. Remove from the oven and cool completely on a wire rack.
Make the frosting by beating the butter with an electric whisk until smooth and supple. Add the icing sugar and Baileys and beat again (tip, cover with a clean tea towel at first to avoid an icing sugar cloud) until smooth.
Use a spatula to spread the frosting evenly over the cupcakes and decorate as desired with finely grated dark chocolate. Enjoy!