mirror of
https://github.com/cjdenio/jia.git
synced 2024-11-21 15:13:40 +00:00
Add logs
This commit is contained in:
parent
7fd08a6555
commit
ad7207c15f
1 changed files with 2 additions and 0 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue