mirror of
https://github.com/cjdenio/jia.git
synced 2024-11-22 15:43:39 +00:00
Don't react to messages with a valid number
This commit is contained in:
parent
c103e9e4fc
commit
3385ce07bb
1 changed files with 0 additions and 4 deletions
|
@ -66,8 +66,4 @@ func onMessage(slackClient *slack.Client, event *slackevents.MessageEvent) {
|
||||||
// Finally!
|
// Finally!
|
||||||
lastValidNumber = matchedNumber
|
lastValidNumber = matchedNumber
|
||||||
lastSender = event.User
|
lastSender = event.User
|
||||||
slackClient.AddReaction("+1", slack.ItemRef{
|
|
||||||
Channel: event.Channel,
|
|
||||||
Timestamp: event.TimeStamp,
|
|
||||||
})
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue