diff options
author | Aidan Epstein <aidan@jmad.org> | 2020-02-18 14:51:05 -0800 |
---|---|---|
committer | Aidan Epstein <aidan@jmad.org> | 2020-02-18 14:51:05 -0800 |
commit | 5ecb63022ebfb4b63bc55ed5bc8efa85edd08e87 (patch) | |
tree | 6afbc48165a58159a40b64dca39c16de9eceee86 /wee_slack.py | |
parent | 8a0b76c008c3272f1403eff31f79b8dd2398efbd (diff) | |
download | wee-slack-5ecb63022ebfb4b63bc55ed5bc8efa85edd08e87.tar.gz |
Use color_deleted for unsupported blocks.
Diffstat (limited to 'wee_slack.py')
-rw-r--r-- | wee_slack.py | 2 |
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) |