Comedian Bill MaherWilliam (Bill) MaherBill Maher says he's 'glad' David Koch is dead The Hill's Morning Report - Trump touts new immigration policy, backtracks on tax cuts Delaney: 'It feels like some Democrats are cheering on a recession' MORE joked about 2020 candidates criticizing former President Obama at the Democratic presidential debate this week.

"The Democratic candidates went after the president hard. Unfortunately, the president was Obama," he said on "Real Time with Bill Maher," according to a clip posted Friday by Mediaite

"The guy with the 97 percent approval rating among the Democrats," he added. "His shit is not woke enough now."

"Trump saw that. He called Putin. He said, 'I got this one,'" Maher quipped.

ADVERTISEMENT

During Wednesday night's debate, Democratic candidates hit former Vice President Joe BidenJoe BidenBiden evokes 1968, asks voters to imagine if Obama had been assassinated Biden blasts Trump's 'embarrassing' actions heading into G-7 summit Steyer calls on DNC to expand polling criteria for debates MORE for Obama administration policies.

New York City Mayor Bill de BlasioBill de BlasioIf the Democratic debates were pro wrestling, de Blasio is comic relief The Hill's Campaign Report: Democratic field begins to shrink ahead of critical stretch Mayor de Blasio, the small business killer MORE (D) asked Biden whether he tried to stop deportations while he served as vice president. 

"I keep my recommendations to him in private," Biden responded during the Detroit debate. 

Sen. Cory BookerCory Anthony BookerSteyer calls on DNC to expand polling criteria for debates Gabbard hits DNC over poll criteria for debates The Hill's Campaign Report: Democratic field begins to shrink ahead of critical stretch MORE (D-N.J.) also told Biden he couldn't pick and choose when he wanted to be associated with Obama. 

“Mr. Vice President, you can’t have it both ways,” Booker said. “You invoke President Obama more than anybody in this campaign. You can’t do it when it’s convenient and then dodge it when it’s not.”

The candidates were among 20 who took the stage at the debate on Tuesday and Wednesday.