 In it, Grammer and Mahoney exchanged a few lines.Peri Gilpin appeared in a "Cheers" episode titled "Woody Gets an Election" playing a reporter who interviews Woody when he runs for office.The set of "Frasier" was built over the set of "Cheers" on the same stage after it had finished filming.