From ad7207c15fd771bdaa90d6613fafb3766fc98b8b Mon Sep 17 00:00:00 2001 From: Caleb Denio Date: Wed, 20 Jan 2021 14:12:01 -0500 Subject: [PATCH] Add logs --- pkg/jia/handlers.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkg/jia/handlers.go b/pkg/jia/handlers.go index 2b9d435..788e4d2 100644 --- a/pkg/jia/handlers.go +++ b/pkg/jia/handlers.go @@ -41,6 +41,8 @@ func onMessage(slackClient *slack.Client, event *slackevents.MessageEvent) { return } + log.Printf("Got number: %d", matchedNumber) + // Reject if sender also sent the previous number. lastSenderID, err := redisClient.Get("last_sender_id").Result() if err != nil {