From 3385ce07bbc35a2ecc5200fa50835643d20165a8 Mon Sep 17 00:00:00 2001 From: Victor Truong Date: Mon, 27 Jul 2020 03:35:38 -0700 Subject: [PATCH] Don't react to messages with a valid number --- pkg/jia/handlers.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/pkg/jia/handlers.go b/pkg/jia/handlers.go index 3e61a87..2176768 100644 --- a/pkg/jia/handlers.go +++ b/pkg/jia/handlers.go @@ -66,8 +66,4 @@ func onMessage(slackClient *slack.Client, event *slackevents.MessageEvent) { // Finally! lastValidNumber = matchedNumber lastSender = event.User - slackClient.AddReaction("+1", slack.ItemRef{ - Channel: event.Channel, - Timestamp: event.TimeStamp, - }) }