diff options
author | Trygve Aaberge <trygveaa@gmail.com> | 2023-08-20 15:25:33 +0200 |
---|---|---|
committer | Trygve Aaberge <trygveaa@gmail.com> | 2024-02-18 11:32:53 +0100 |
commit | 2cfbb994506cb6d8e63d95b7f98feee06418c67d (patch) | |
tree | aa5835bac2bf8a5901bd338714aee93fcb6c2ebd /slack/config.py | |
parent | 54f5307fc74c5f60314f09991a20b868b5837d07 (diff) | |
download | wee-slack-2cfbb994506cb6d8e63d95b7f98feee06418c67d.tar.gz |
Render join and leave messages correctly
Diffstat (limited to 'slack/config.py')
-rw-r--r-- | slack/config.py | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/slack/config.py b/slack/config.py index 723d4d3..7527190 100644 --- a/slack/config.py +++ b/slack/config.py @@ -43,6 +43,22 @@ class SlackConfigSectionColor: WeeChatColor("yellow"), ) + self.message_join = WeeChatOption( + self._section, + "message_join", + "color for text in join messages", + WeeChatColor("green"), + parent_option="irc.color.message_join", + ) + + self.message_quit = WeeChatOption( + self._section, + "message_quit", + "color for text in part messages", + WeeChatColor("red"), + parent_option="irc.color.message_quit", + ) + self.reaction_suffix = WeeChatOption( self._section, "reaction_suffix", |