Start by preheating your oven to 350°F (175°C). While that’s heating up, line a muffin tin with two cupcake liners.
In a microwave-safe bowl, combine the unsalted butter and chopped semi-sweet chocolate. Microwave in 20-second intervals, stirring in between, until melted and smooth. Set aside to cool slightly.
In a mixing bowl, whisk together the melted chocolate mixture, vegetable oil, egg yolk, vanilla extract, milk, and hot coffee or water. Mix until well combined.
In a separate bowl, sift together the all-purpose flour, cocoa powder, baking powder, salt, and granulated sugar.
Gradually add the dry ingredients into the wet mixture, stirring gently until just combined.
Divide the batter evenly into the prepared cupcake liners. Bake for about 15-18 minutes, or until a toothpick comes out clean. Allow to cool.