Tim Cook has an idea of who’s sending Trump’s 3 AM tweets

President Donald Trump’s tweets are finding their way into everything nowadays … even Tim Cook’s commencement speech at MIT.

The Apple CEO took a swipe at Trump’s infamous Twitter habits Friday, just a few hours after the president’s latest rant about former FBI director James Comey. Cook’s joke at the president came while he was referencing MIT’s tradition of jokes and hacks (like putting a propellor beanie on top of the Great Dome).

"I’ll never figure out how [MIT students] … have obviously taken over the president’s Twitter account," Cook says.

Met with laughter, he continued, "I can tell college students are behind it, because most of the tweets happen at 3 a.m."

The jab wasn’t lost on some Twitter users, either. And they loved it.

Tim Cook just dissed Trump’s twitter activity SO HARD and I’m living for it

— Lindsey Golden (@weare_golden) June 9, 2017

Tim Cook just threw shade at president Trump during the #MIT2017 commencement #amazing

— it’s xtina y’all (@xtinaashbaugh) June 9, 2017

Trump wasn’t the only subject of Cook’s address though. The Apple CEO also talked about the importance of technology, but made reference to its downsides.

"But technology alone isn’t the solution," he said. "And sometimes, it’s even part of the problem."

Cook also recalled a conversation he and Pope Francis had about technology, in which the Pope expressed concern over the way humanity’s never had so much power over itself — but nothing ensures that tech will be used wisely.

Cook said most of the time, technology is a force for good, but said there are adverse consequences stemming from it, such as threats to security, privacy threats, fake news and social media "that becomes anti social."

"Sometimes the very technology that is meant to connect us, divides us." he said.