Whitney Cummings reveals the important lesson working on 'Roseanne' taught her

Whitney Cummings learned to be more social media savvy after working on "Roseanne."

The comedian served as an executive producer for ABC's 2018 reboot, which the network swiftly cancelled following a racist tweet from the show's co-creator and star, Roseanne Barr. Though Cummings exited shortly before the fall-out.

As a guest on "Watch What Happens Live with Andy Cohen" Wednesday, Cummings spoke to what she learned from working on the show and revealed the last time she and Barr conversed.

"The lesson I learned from the 'Roseanne' reboot is read people's tweets before you sign up to work with them," Cummings said before denying ever having an authentic conversation with Barr.

"I don't think I've ever spoken with her," Cummings said with a laugh. "I mean, during (production), I never knew who I was talking to, now that this has all happened, you know? I don't know if I've ever actually spoken to her, if I may. But, yeah, not since during production – a while ago."

Whitney Cummings shares NSFW pic on Twitter after 'foolish dorks' attempt to extort her

Roseanne Barr announces 'Mr. and Mrs. America Tour' with Andrew Dice Clay

Before, Barr's tweet about Valerie Jarrett, it was revealed Cummings would not move forward with the show's second season on May 18, 2018, according to Variety and The Hollywood Reporter.

At the time, she called being a part of the show "a surreal, incredible experience" in a since-deleted tweet about her departure, which she attributed to "work commitments and my tour schedule," both outlets report.

Barr was fired later that month following her post.

In a conversation with the Daily Beast's "The Last Laugh" podcast which published online last month, Cummings said her decision to walk away stemmed from Barr's problematic Twitter posts.

“I wanted her to get off Twitter,” she said. “I felt like it was going to come to a head. It was like whack-a-mole.”

Roseanne Barr goes on bizarre rant about homophobic slur; claims, 'I put the 'Q' in LGBTQ'

ABC renews 'The Conners' after Roseanne Barr blamed Sara Gilbert for her firing

The tweet that cost Barr her reboot, which was deleted, was sent in response to a post that accused Jarrett of helping "hide" misdeeds for the Obama administration.

"muslim brotherhood & planet of the apes had a baby=vj,” Barr wrote, using Jarrett's initials. Jarrett is African American and worked for Obama from 2009 to 2017.

Channing Dungey, president of ABC Entertainment at the time of the scandal, issued a statement to USA TODAY denouncing Barr's original tweet.

"Roseanne's Twitter statement is abhorrent, repugnant and inconsistent with our values, and we have decided to cancel her show," Dungey's statement read.

In October, Barr's onscreen family returned to the small screen in the spin-off "The Conners." Barr's character was killed off on the show, dying from opioid drug use that aggravated existing health conditions.

Contributing: Sara M. Moniuszko and Bill Keveney

This article originally appeared on USA TODAY: Whitney Cummings: 'Roseanne' reboot taught me this important lesson