aboutsummaryrefslogtreecommitdiffstats
path: root/slack/config.py
diff options
context:
space:
mode:
authorTrygve Aaberge <trygveaa@gmail.com>2023-01-28 21:44:44 +0100
committerTrygve Aaberge <trygveaa@gmail.com>2024-02-18 11:32:53 +0100
commit584a580243c4bb246b15e07928a6561047de9e9b (patch)
tree464c785c72452d8194f49be544382f751b346921 /slack/config.py
parentb7a3eb918171ac2049dda68c1c1dda19a1319162 (diff)
downloadwee-slack-584a580243c4bb246b15e07928a6561047de9e9b.tar.gz
Initial work for matching usergroups
Doesn't get info/name yet. Apparently there's no API method for getting info for one usergroup...
Diffstat (limited to 'slack/config.py')
-rw-r--r--slack/config.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/slack/config.py b/slack/config.py
index 7efe69b..6470816 100644
--- a/slack/config.py
+++ b/slack/config.py
@@ -50,6 +50,13 @@ class SlackConfigSectionColor:
WeeChatColor("blue"),
)
+ self.usergroup_mention_color = WeeChatOption(
+ self._section,
+ "usergroup_mention_color",
+ "text color for mentioned user group names in the chat",
+ WeeChatColor("blue"),
+ )
+
class SlackConfigSectionLook:
def __init__(self, weechat_config: WeeChatConfig):