Pre-heat oven to 175°C.
Sift flour, cocoa powder, baking powder, baking soda and salt into a bowl.
Add sugar to the bowl and mix thoroughly.
Add beaten egg, milk, oil and vanilla to the dry ingredients and beat with a hand mixer for two minutes.
Add hot coffee and beat until just combined.
Divide the batter between 6 muffin cups, filling each until just over halfway full.
Bake for 15-20 minutes or until a toothpick inserted into the centre of the cupcake comes out clean.
Allow the cupcakes to cool in the tray for ten minutes and then transfer them onto a wire rack.
Enjoy!