Heat the oven to 170°C fan / 190°C conventional. Grease and line with baking paper a 20 cm square tin.
Whisk together the flour, cocoa, sugars, bicarbonate, baking powder and salt.
In another bowl whisk the eggs, oil, coffee, dairy-free milk, vanilla and optional alcohol. Pour into the dry ingredients and whisk just until smooth. It will be a fairly loose batter.
Pour into the tin and bake for approximately 35–42 minutes, until a skewer comes out with a few moist crumbs rather than wet batter.
Cool for 10–15 minutes in the tin, then turn out and cool completely.