Preheat the oven to 180°C (356°F).
Cream the butter and sugar together in a bowl.
Add the egg and mix well.
Sift in the flour, cocoa powder, baking powder, and salt. Mix until well combined.
Add the dark chocolate and nuts, and mix.
Spoon the dough onto a baking tray.
Bake in the oven at 180°C for 12–15 minutes.
Let the cookies cool.