Skip to content

Commit

Permalink
merging PR Chaosthebot#534: Reduce noise from chaosbot when closing i…
Browse files Browse the repository at this point in the history
…ssues

Chaosthebot#534: Reduce noise from chaosbot when closing issues

Description:
We already get an alert that the issue is closed so no need to output another message.

:white_check_mark: PR passed with a vote of 9 for and 0 against, a weighted total of 9.0 and a threshold of 6.1, and a current meritocracy review.

Vote record:
@Leigende: 1
@MaloJaffre: 1
@PlasmaPower: 1
@amoffat: 1
@andrewda: 1
@qgustavor: 1
@rhengles: 1
@rudehn: 1
@xyproto: 1
  • Loading branch information
rudehn authored and chaosbot committed Jun 6, 2017
1 parent bf8ab91 commit e0e3528
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions cron/poll_read_issue_comments.py
Original file line number Diff line number Diff line change
Expand Up @@ -143,10 +143,8 @@ def handle_vote_command(api, command, issue_id, comment_id, votes):
sub_command = command.pop(0)
if sub_command == "close":
gh.issues.close_issue(api, settings.URN, issue_id)
gh.comments.leave_issue_closed_comment(api, settings.URN, issue_id)
elif sub_command == "reopen":
gh.issues.open_issue(api, settings.URN, issue_id)
gh.comments.leave_issue_reopened_comment(api, settings.URN, issue_id)
else:
# Implement other commands
pass
Expand Down

0 comments on commit e0e3528

Please sign in to comment.