This commit is contained in:
Caleb Denio 2021-01-20 14:12:01 -05:00
parent 7fd08a6555
commit ad7207c15f

View file

@ -41,6 +41,8 @@ func onMessage(slackClient *slack.Client, event *slackevents.MessageEvent) {
return return
} }
log.Printf("Got number: %d", matchedNumber)
// Reject if sender also sent the previous number. // Reject if sender also sent the previous number.
lastSenderID, err := redisClient.Get("last_sender_id").Result() lastSenderID, err := redisClient.Get("last_sender_id").Result()
if err != nil { if err != nil {