aboutsummaryrefslogtreecommitdiffstats
path: root/wee_slack.py
diff options
context:
space:
mode:
authorAidan Epstein <aidan@jmad.org>2020-02-18 14:51:05 -0800
committerAidan Epstein <aidan@jmad.org>2020-02-18 14:51:05 -0800
commit5ecb63022ebfb4b63bc55ed5bc8efa85edd08e87 (patch)
tree6afbc48165a58159a40b64dca39c16de9eceee86 /wee_slack.py
parent8a0b76c008c3272f1403eff31f79b8dd2398efbd (diff)
downloadwee-slack-5ecb63022ebfb4b63bc55ed5bc8efa85edd08e87.tar.gz
Use color_deleted for unsupported blocks.
Diffstat (limited to 'wee_slack.py')
-rw-r--r--wee_slack.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/wee_slack.py b/wee_slack.py
index 27b2ccf..94f5f21 100644
--- a/wee_slack.py
+++ b/wee_slack.py
@@ -3390,7 +3390,7 @@ def unfurl_blocks(message_json):
elif block["type"] == "context":
block_text.append("|".join(i["text"] for i in block["elements"]))
else:
- block_text.append(' {}<<Unsupported block type "{}">>{}'.format(w.color(config.color_reaction_suffix), block["type"], w.color("reset")))
+ block_text.append(' {}<<Unsupported block type "{}">>{}'.format(w.color(config.color_deleted), block["type"], w.color("reset")))
dbg('Unsupported block: "{}"'.format(json.dumps(block)), level=4)
except Exception as e:
dbg("Failed to unfurl block ({}): {}".format(repr(e), json.dumps(block)), level=4)