diff options
Diffstat (limited to 'slack/config.py')
-rw-r--r-- | slack/config.py | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/slack/config.py b/slack/config.py index 5ea0cbc..4503709 100644 --- a/slack/config.py +++ b/slack/config.py @@ -132,6 +132,23 @@ class SlackConfigSectionLook: callback_change=self.config_change_color_nicks_in_nicklist_cb, ) + self.color_message_attachments: WeeChatOption[ + Literal["prefix", "all", "none"] + ] = WeeChatOption( + self._section, + "color_message_attachments", + "colorize attachments in a message: prefix = only colorize the prefix, all = colorize the whole line, none = don't colorize", + "prefix", + string_values=["prefix", "all", "none"], + ) + + self.display_link_previews = WeeChatOption( + self._section, + "display_link_previews", + "display previews of URLs in messages", + True, + ) + self.display_reaction_nicks = WeeChatOption( self._section, "display_reaction_nicks", |