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,