Preheat your oven to 350°F (175°C). Line your cupcake pan with cupcake liners and set aside.
In a medium bowl, whisk together the flour, sifted cocoa powder, baking soda, baking powder, and salt. Mix well and keep aside.
In a stand mixer, beat the softened butter on medium speed until it becomes light and fluffy. Add the vegetable oil and vanilla extract, then gradually add the sugar, continuing to beat until the mixture is fluffy and pale, about 4-5 minutes.
Incorporate the eggs one by one, ensuring each egg is fully mixed before adding the next. Scrape down the sides of the bowl occasionally to ensure even mixing.
Reduce the mixer speed to low and alternately add the flour mixture and milk, beginning and ending with the dry ingredients. You’ll add the flour mixture in three parts and the milk in two parts.
Once incorporated, pour in the hot coffee and gently mix until combined. The batter will be thin—this is normal.
Fill each cupcake liner with about ¼ cup of batter, leaving space for the cupcakes to rise. Bake in the preheated oven for 18-20 minutes, or until a toothpick inserted into the center comes out clean or with just a few crumbs.
Remove the cupcakes from the pan a few minutes after taking them out of the oven, allowing them to cool completely on a wire rack.