Ambien maker Sanofi-Aventis blasts Roseanne Barr: 'Racism is not a known side effect'

"It was 2 in the morning and I was ambien tweeting," Barr tweeted.

Disney’s ABC canceled the comedian’s eponymous sitcom Tuesday after she posted a tweet comparing a onetime adviser for former President Barack Obama to an ape, later apologizing in multiple tweets that included a reference to her apparent use of the prescription sleep aid.

In one of the now-deleted tweets that Barr posted in the wake of her show's cancelation, she wrote that "it was 2 in the morning and I was ambien tweeting," while in another she wrote that she was "not giving excuses for what I did(tweeted) but I've done weird stuff while on ambien- cracked eggs on the wall at 2am etc."

The patent for Ambien, formally known as zolpidem, is held by French pharmaceutical company Sanofi-Aventis, which had something to say about Roseanne’s tying the drug to the scandal.