diff options
Diffstat (limited to 'slack/config.py')
-rw-r--r-- | slack/config.py | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/slack/config.py b/slack/config.py index d4a36bd..56b828f 100644 --- a/slack/config.py +++ b/slack/config.py @@ -44,6 +44,18 @@ class SlackConfigSectionColor: ) +class SlackConfigSectionLook: + def __init__(self, weechat_config: WeeChatConfig): + self._section = WeeChatSection(weechat_config, "look") + + self.external_user_suffix = WeeChatOption( + self._section, + "external_user_suffix", + "the suffix appended to nicks to indicate external users", + "*", + ) + + class SlackConfigSectionWorkspace: def __init__( self, @@ -178,6 +190,7 @@ class SlackConfig: def __init__(self): self.weechat_config = WeeChatConfig("slack") self.color = SlackConfigSectionColor(self.weechat_config) + self.look = SlackConfigSectionLook(self.weechat_config) self._section_workspace_default = WeeChatSection( self.weechat_config, "workspace_default" ) |