mirror of
https://github.com/cjdenio/jia.git
synced 2024-11-25 17:13:56 +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!
|
||||
lastValidNumber = matchedNumber
|
||||
lastSender = event.User
|
||||
slackClient.AddReaction("+1", slack.ItemRef{
|
||||
Channel: event.Channel,
|
||||
Timestamp: event.TimeStamp,
|
||||
})
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue