Mix butter, peanut butter, brown sugar, granulated sugar, egg, and vanilla extract with an electric mixer until creamy. Add in flour, baking soda, baking powder, and salt and mix until thoroughly combined. Cover and refrigerate the dough for 2 hours.