From 40b64a43ef524989a7a61aef51a764f89845b308 Mon Sep 17 00:00:00 2001 From: okseby Date: Mon, 28 Aug 2023 23:21:25 -0400 Subject: [PATCH] Why is the vote counting broken now? --- bot/utils.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bot/utils.go b/bot/utils.go index d84a00c..cd1837b 100644 --- a/bot/utils.go +++ b/bot/utils.go @@ -153,7 +153,7 @@ func processIssueCommentEvent(event *github.IssueCommentEvent) { return } else { - commentText := "Votes: (#{reactionCount})/(#{reactionRemainingCount})" + commentText := "Votes: (#{reactionCount}) Needed: (#{reactionRemainingCount})" commentText = strings.Replace(commentText, "(#{reactionCount})", strconv.Itoa(reactionCount), 1) commentText = strings.Replace(commentText, "(#{reactionRemainingCount})", strconv.Itoa(reactionCountGoal-reactionCount), 1)