First lady Melania Trump, whose “Be Best” campaign battles cyberbullying, warned Monday that social media can be “destructive and harmful” when misused — a speech made just hours after President Trump blasted special counsel Robert Mueller’s team as “Angry Democrat Thugs” in a series of messages on Twitter.

“In today’s global society, social media is an inevitable part of our children’s daily lives. It can be used in many positive ways, but can also be destructive and harmful when used incorrectly,” the first lady said during the Federal Partners in Cyberbulling Prevention summit in Maryland. “That is why Be Best chooses to focus on the importance of teaching our next generation how to conduct themselves safely and in a positive manner in an online setting.”

Melania Trump, who will participate in a panel discussion later Monday, said she launched her initiative in May “with a focus on the many issues facing children today — one of them being the safe and responsible use of social media.”

She said adults can learn a lot listening to children about their “ideas and concerns” when it comes to dealing with online harassment.

“Let’s face it: Most children are more aware of the benefits and pitfalls of social media than some adults, but we still need to do all we can to provide them with information and tools for successful and safe online habits,” Melania Trump said.

The president stopped tweeting about Mueller’s Russia investigation before his wife began speaking and she didn’t address his habit of trashing people on Twitter.

Before Melania Trump took the podium, the president posted three tweets about Mueller.

As she sat in the audience while other speakers took their turn, her husband went on Twitter to label former CIA Director John Brennan a “political hack,” to dismiss the actions of 175 former national security officials who signed a letter in support of Brennan and to call for the firing of Justice Department official Bruce Ohr.

Melania Trump’s spokeswoman issued a statement to address the timing of her speech and her husband’s tweetstorm.

“The First Lady’s presence at events such as today’s cyberbullying summit elevates an issue that is important to children and families across this country,” Stephanie Grisham said. “She is aware of the criticism but it will not deter her from doing what she feels is right. The President is proud of her commitment to children and encourages her in all that she does.”

Since Saturday evening, Trump wrote seven Twitter messages pertaining to the investigation.

His wife also didn’t bring up how the president called fired White House staffer Omarosa Manigault Newman a “lowlife” and a “dog” in a tweet last week.

Trump blasted the former “Apprentice” contestant after she said the president was racist and once uttered the N-word during a taping of the reality show during a media blitz to promote her tell-all book about her time in the White House, titled “Unhinged.”