diff options
author | Ryan Huber <rhuber@gmail.com> | 2017-02-04 19:45:24 -0800 |
---|---|---|
committer | Ryan Huber <rhuber@gmail.com> | 2017-02-04 19:45:24 -0800 |
commit | 3bab35891014695958914746af75d10cea4e355b (patch) | |
tree | be16924bb832bb271bf96cd1843b484cf8a8b92d | |
parent | 3770e91c8943acf965502397d916ff25ea719c53 (diff) | |
download | wee-slack-3bab35891014695958914746af75d10cea4e355b.tar.gz |
remove debug messages and add tiny doc
-rw-r--r-- | README.md | 8 | ||||
-rw-r--r-- | wee_slack.py | 5 |
2 files changed, 11 insertions, 2 deletions
@@ -1 +1,9 @@ [![Build Status](https://travis-ci.org/wee-slack/wee-ng.svg?branch=master)](https://travis-ci.org/wee-slack/wee-ng) + + +### Using threads in wee-ng beta (note: you can't start threads yet, but you can participate in existing ones): + +1) look for [Threaded: 12345677.0000] at the end of a message. this means it has threads. +2) in the buffer with the threaded message type `/thread 12345677.0000` +3) a new buffer will open named ` +12345677.0000`, which is the thread buffer +4) if you'd like to give thread buffers a friendly name, switch to them and type `/label [newname]` diff --git a/wee_slack.py b/wee_slack.py index 5c63891..c30be56 100644 --- a/wee_slack.py +++ b/wee_slack.py @@ -1562,7 +1562,7 @@ def process_message(message_json, eventrouter, store=True, **kwargs): traceback.print_exc() def subprocess_thread_message(message_json, eventrouter, channel, team): - print ("THREADED: " + str(message_json)) + #print ("THREADED: " + str(message_json)) parent_ts = message_json.get('thread_ts', None) if parent_ts: #parent_ts = SlackTS(parent_ts) @@ -1598,7 +1598,8 @@ def subprocess_thread_message(message_json, eventrouter, channel, team): #channel.become_thread(message_json["item"]["ts"], message_json) def subprocess_message_replied(message_json, eventrouter, channel, team): - print ("REPLIED: " + str(message_json)) + pass + #print ("REPLIED: " + str(message_json)) def subprocess_message_changed(message_json, eventrouter, channel, team): print "CHANGED!!" |