scrapinghub / slackbot

A chat bot for Slack (https://slack.com).
MIT License
1.26k stars 396 forks source link

Add reply in thread functionality #153

Closed NiekKeijzer closed 6 years ago

NiekKeijzer commented 7 years ago

Adds functionality to reply to a message in a thread. This is done by checking if the message already has the thread_ts attribute and including it in the message that's send to the API. If the message has no thread_ts attribute, the message's ts attribute is send instead so a thread can be started.