In another bowl, cream the butter, the sugar, and cocoa powder in an electric mixer. Add the egg and vanilla and beat until smooth. At low speed or with a wooden spoon, stir in the dry ingredients. Form a disc with the dough. Cover with plastic wrap. Refrigerate for 30 minutes.