Cream butter for 1 minute on medium high. Stop and scrape down sides of bowl. Then add sugars; cream for at least 2 more more minutes, until light in color and fluffy. Scrape down sides a few times during mixing, as needed.
Add peanut butter and sourdough discard, and mix on medium for about 45 seconds, until the mixture is mostly homogenous. It doesn't have to be perfect. Add egg and vanilla, and mix on low for 45 seconds to combine, scraping down sides.
In a bowl, combine flour, baking powder, baking soda, salt. Whisk to combine.
Add dry mixture in two increments to the wet ingredients, with stand mixer on speed 2, low. Turn up speed to medium for 30ish seconds to fully combine, just until no flour streaks are left. Don't overmix. Refrigerate dough for 2 hours* (up to 24 hours) to allow dough to rest and absorb liquids.
When ready to bake, preheat oven to 375 degrees F. Scoop dough into 30 to 35 gram dough balls. Place 9 dough balls on a parchment lined baking sheet with room in between. Bake for 10 minutes, then remove pan and press dark chocolate piece into the center. Put back in the oven for 1 to 2 more minutes to slightly melt the chocolate. Remove cookies from oven and let cool on pan for 5 minutes before transfer to cooling rack. Add festive sprinkles while the chocolate is melted, before setting again.