         msg += "\n#{cached_vars.pr_link}"
 
       # Unapproved
-      if type is 'pullrequest:unapproved' && ('unapprove' in announce_options)
+      if type is 'pullrequest:unapproved' && ('unapprove' in ANNOUNCE_OPTIONS)
         msg = "A pull request on `#{cached_vars.repo_name}` has been unapproved by #{cached_vars.actor}"
         msg += "\n#{cached_vars.pr_link}"
 

          room: room

      # Created
      if type is 'pullrequest:created' && ('created' in announce_options)
        reviewers = get_reviewers(resp)
        content =
          text: "New Request from #{cached_vars.actor}"

          ]

      # Unapproved
      if type is 'pullrequest:unapproved' && ('unapprove' in ANNOUNCE_OPTIONS)
        content =
          text: "Pull Request Unapproved"
          fallback: "A pull request on `#{cached_vars.repo_name}` has been unapproved by #{cached_vars.actor}"
