aboutsummaryrefslogtreecommitdiffstats
path: root/slack/config.py
diff options
context:
space:
mode:
authorTrygve Aaberge <trygveaa@gmail.com>2023-08-20 17:21:00 +0200
committerTrygve Aaberge <trygveaa@gmail.com>2024-02-18 11:32:53 +0100
commit9a736ce08f19bc4cd5be63d7b87af3d6e1a8741b (patch)
tree5834130580558005c00ad35ef7e072f48826cdec /slack/config.py
parente71e04f1ed15dfa5348350a1f2921458ade3e77a (diff)
downloadwee-slack-9a736ce08f19bc4cd5be63d7b87af3d6e1a8741b.tar.gz
Support rendering message edits and deletions
Diffstat (limited to 'slack/config.py')
-rw-r--r--slack/config.py14
1 files changed, 14 insertions, 0 deletions
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",