Check that there is both author and code before pinging