Megan Mullally has some personal insight into President-elect Donald Trump. On Wednesday's "Late Show," she recalled helping him win.  No, she wasn't talking about votes in the presidential election. Mullally and Trump were paired together when the 2005 Emmys decided to throw its own version of "American Idol" called "Emmy Idol."  That night, celebrities performed various television show theme songs and the viewers were able to vote via phone. Mullally and Trump performed the "Green Acres" theme song and the future US president really got into character.  Colbert tried to coax the actress into complimenting Trump. To which the "Will & Grace" star replied, "I'm not giving him any points. Sorry."  Apparently, Trump didn't take the competition lightly. He insisted that the pair had to come out on top of the competition.  PHOTOS: A look at Donald Trump's Thank You tour  Donald Trump's 'USA thank you' tour  Donald Trump's 'USA thank you' tour  U.S. President-elect Donald Trump throws a cap to the audience as he speaks during a "Thank You USA" tour rally in Baton Rouge, Louisiana, U.S., December 9, 2016. REUTERS/Mike Segar  Supporters of U.S. President-elect Donald Trump attend a USA Thank You Tour event at U.S. Bank Arena in Cincinnati, Ohio, U.S., December 1, 2016. REUTERS/Mike Segar  Supporters of U.S. President-elect Donald Trump attend a "Thank You USA" tour rally in Baton Rouge, Louisiana, U.S., December 9, 2016. REUTERS/Mike Segar  Supporters of U.S. President-elect Donald Trump attend a USA Thank You Tour event at U.S. Bank Arena in Cincinnati, Ohio, U.S., December 1, 2016. REUTERS/Mike Segar  President-elect Donald Trump, left, and Vice President-elect Mike Pence arrive at Indianapolis International Airport for visit to the Carrier factory, Thursday, Dec. 1, 2016, in Indianapolis, Ind. (AP Photo/Evan Vucci)  U.S. President-elect Donald Trump speaks at a rally as part of their "USA Thank You Tour 2016" in Cincinnati, Ohio, December 1, 2016 . REUTERS/William Philpott  A protester walks out of the U.S. President-elect Donald Trump and Vice President-elect Mike Pence at a rally as part of their "USA Thank You Tour 2016" in Cincinnati, Ohio, December 1, 2016 . REUTERS/William Philpott  U.S. President-elect Donald Trump and Vice President-elect Mike Pence hold a rally in Cincinnati, Ohio, December 1, 2016 as part of their "USA Thank You Tour 2016". REUTERS/William Philpott  U.S. President-elect Donald Trump speaks at a rally in Cincinnati, Ohio, December 1, 2016 as part of their "USA Thank You Tour 2016". REUTERS/William Philpott  Supporters of U.S. President-elect Donald Trump attend a USA Thank You Tour event at U.S. Bank Arena in Cincinnati, Ohio, U.S., December 1, 2016. REUTERS/Mike Segar  President-elect Donald Trump smiles as he speaks during the first stop of his post-election tour, Thursday, Dec. 1, 2016, in Cincinnati. (AP Photo/John Minchillo)  Attendees say the Pledge of Allegiance before the arrival of President-elect Donald Trump during the first stop of his post-election tour, Thursday, Dec. 1, 2016, in Cincinnati. (AP Photo/John Minchillo)  Attendees tug on a banner carried by protesters while President-elect Donald Trump speaks during the first stop of his post-election tour, Thursday, Dec. 1, 2016, in Cincinnati. (AP Photo/John Minchillo)  CINCINNATI, OH - DECEMBER 01: Guests listen as President-elect Donald Trump speaks at U.S. Bank Arena on December 1, 2016 in Cincinnati, Ohio. Trump took time off from selecting the cabinet for his incoming administration to celebrate his victory in the general election. (Photo by Ty Wright/Getty Images)  U.S. President-elect Donald Trump and Softbank CEO Masayoshi Son speak to the press after meeting at Trump Tower in Manhattan, New York City, U.S., December 6, 2016. REUTERS/Brendan McDermid  U.S. President-elect Donald Trump speaks at a USA Thank You Tour event at Crown Coliseum in Fayetteville, North Carolina, U.S., December 5, 2016. REUTERS/Shannon Stapleton  Supporters cheer for U.S. President-elect Donald Trump at a USA Thank You Tour event at Crown Coliseum in Fayetteville, North Carolina, U.S., December 6, 2016. REUTERS/Shannon Stapleton  Republican presidential then nominee Donald Trump and Ben Carson walk to Carson's childhood home in Detroit, Michigan, U.S. September 3, 2016. REUTERS/Carlo Allegri/ File photo  U.S. President-elect Donald Trump greets members of the press at Trump Tower in Manhattan, New York City, U.S., December 6, 2016. REUTERS/Brendan McDermid  "He wanted to win it," Mullally said. "So we won it. The next day, I was in my 'Will & Grace' dressing room and the phone rang. It was Donald Trump. And he said, 'You know what? We really needed to win that thing and we did. And you were a big part of that. Not only did we win it, we killed them. It was a landslide.'"  After Colbert congratulated her, Mullally said, "If he felt that way about 'Emmy Idol,' how do you think he felt about the presidential election?"  "He probably had to take a cold shower afterward," Colbert joked.  Mullally clearly wasn't a supporter of Trump's candidacy, although this isn't the first time she could be accused of helping him win. When the "Will & Grace" cast reunited for an election PSA, Mullally's rich, elitist character, Karen, said she was definitely voting for Trump.  Watch the interview with Colbert below:  NOW WATCH: Trump's pick for secretary of state has a personal relationship with Putin that's been called a 'matter of concern'  SEE ALSO: Trevor Noah breaks down Trump's secretary of state pick and his 'friendship' with Russia  DON'T MISS: Seth Meyers takes a closer look at Trump's super-rich cabinet picks
The actress opened up about a competition that she and Trump were once in together -- and how they won by a landslide.