mirror of
https://github.com/cjdenio/jia.git
synced 2024-11-21 23:23:39 +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
|
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 {
|
||||||
|
|
Loading…
Reference in a new issue