Another way to say "No one likes a smartass." is "A smartass is not liked."