Skip to content

Commit

Permalink
bot : remove dibs text from message
Browse files Browse the repository at this point in the history
  • Loading branch information
thelostone-mc committed Sep 1, 2018
1 parent 2ac66ca commit 714be52
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions app/dashboard/notifications.py
Original file line number Diff line number Diff line change
Expand Up @@ -476,10 +476,8 @@ def build_github_notification(bounty, event_name, profile_pairs=None):
if not interest.pending and approval_required:
action = 'been approved to start work'

show_dibs = interested.count() > 1 and bounty.project_type == 'traditional'
dibs = f" ({get_ordinal_repr(i)} dibs)" if show_dibs else ""

msg += f"\n{i}. {profile_link} has {action}{dibs}. "
msg += f"\n{i}. {profile_link} has {action}. "

issue_message = interest.issue_message.strip()
if issue_message:
Expand Down

0 comments on commit 714be52

Please sign in to comment.