Golden State Warriors All-Star Kevin Durant acknowledged a controversial Twitter incident and apologized for comments that were critical of his former team and coach, calling the tweets “idiotic” and “childish.”

“I use Twitter to engage with the fans,” Durant said Tuesday from the stage of the TechCrunch Disrupt event in San Francisco. “I think it’s a great way to engage with basketball fans. But I happened to take it a little too far. That’s what happens sometimes when I get into these basketball debates about what I really love, to play basketball.

“I don’t regret clapping back at anybody or talking to my fans on Twitter. I do regret using my former coach’s name and the former organization I played for. That was childish. That was idiotic, all those type of words. I regret doing that and I apologize to them for doing that.”

The tweets on Sunday were in response to a fan who questioned Durant’s reasoning behind leaving the Oklahoma City Thunder to join the Warriors in July 2016. Durant, speaking in third person, responded by saying he didn’t like the organization or playing for Billy Donovan, and that the roster “wasn’t that good.”

Durant told USA Today Sports on Tuesday, “To know that I affected Billy Donovan and the Thunder — like I love those people and I don’t never [want to hurt them].”

He told the newspaper that he sent a note of apology to Donovan, but Durant knows that he deserves whatever criticism is coming his way.

“That was just me being a total [expletive] idiot. I own up to it,” Durant told USA Today. “I want to move on from it. It probably hit me probably harder than what everybody [thought]. Everybody else was telling me to relax, to snap out of it, but I was really, really upset with myself more than anything. It’s not the fact that people were talking about me, because I deserve that, but I’m just more upset with myself that I let myself go that far, you know what I was saying?

“It was a joke to me at first. I was doing it all summer, and it went too deep. … I haven’t slept in two days, two nights. I haven’t ate. It’s crazy, because I feel so [expletive] pissed at myself and I’m mad that I brought someone into it.”

Thunder center Enes Kanter, in an apparent response to the Durant tweets, took to Twitter later Tuesday to express his love for Oklahoma City.