From 0a74865977dd30267b2425d3cfabf8dd14673b92 Mon Sep 17 00:00:00 2001 From: Caleb Denio Date: Fri, 15 Jul 2022 15:38:35 -0400 Subject: [PATCH] oh yeah --- pkg/jia/handlers.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/jia/handlers.go b/pkg/jia/handlers.go index 03d1469..3ae2309 100644 --- a/pkg/jia/handlers.go +++ b/pkg/jia/handlers.go @@ -103,7 +103,7 @@ func onMessage(slackClient *slack.Client, event *slackevents.MessageEvent) { fmt.Printf("Contains 69: %v\n", strings.Contains(strconv.Itoa(matchedNumber), "69")) } - if event.User == "UR6P49Q79" && time.Since(lastCountAt).Seconds() < 2 && strings.Contains(strconv.Itoa(matchedNumber), "69") { + if event.User == "UR6P49Q79" && time.Since(lastCountAt).Seconds() < 4 && strings.Contains(strconv.Itoa(matchedNumber), "69") { slackClient.AddReaction("bangbang", slack.ItemRef{ Channel: event.Channel, Timestamp: event.TimeStamp,