From 9a736ce08f19bc4cd5be63d7b87af3d6e1a8741b Mon Sep 17 00:00:00 2001 From: Trygve Aaberge Date: Sun, 20 Aug 2023 17:21:00 +0200 Subject: Support rendering message edits and deletions --- slack/config.py | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'slack/config.py') diff --git a/slack/config.py b/slack/config.py index 7527190..0b717fa 100644 --- a/slack/config.py +++ b/slack/config.py @@ -29,6 +29,13 @@ class SlackConfigSectionColor: WeeChatColor("blue"), ) + self.deleted_message = WeeChatOption( + self._section, + "deleted_message", + "text color for a deleted message", + WeeChatColor("red"), + ) + self.disconnected = WeeChatOption( self._section, "disconnected", @@ -36,6 +43,13 @@ class SlackConfigSectionColor: WeeChatColor("red"), ) + self.edited_message_suffix = WeeChatOption( + self._section, + "edited_message_suffix", + "text color for the suffix after an edited message", + WeeChatColor("095"), + ) + self.loading = WeeChatOption( self._section, "loading", -- cgit