This should probably be if pull_request and pull_request.initial_comment
if pull_request and pull_request.initial_comment
Pull-Request has been updated
Updated the pull request to add the check if the pull request exists.
Thanks :)
Pull-Request has been merged by pingou