aboutsummaryrefslogtreecommitdiffstats
path: root/slack/config.py
diff options
context:
space:
mode:
authorTrygve Aaberge <trygveaa@gmail.com>2023-01-15 14:18:37 +0100
committerTrygve Aaberge <trygveaa@gmail.com>2024-02-18 11:32:53 +0100
commit988c7770e2c70e0cdf8268dabb4ef6f02ce2ca99 (patch)
tree9fd61b1bc60d614904a1d5c51c6c157c10850394 /slack/config.py
parent7b9cf4d9278f584c4ce754e3dfbbcd245b1f9985 (diff)
downloadwee-slack-988c7770e2c70e0cdf8268dabb4ef6f02ce2ca99.tar.gz
Show nick suffix for bots
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 56b828f..4533780 100644
--- a/slack/config.py
+++ b/slack/config.py
@@ -48,6 +48,13 @@ class SlackConfigSectionLook:
def __init__(self, weechat_config: WeeChatConfig):
self._section = WeeChatSection(weechat_config, "look")
+ self.bot_user_suffix = WeeChatOption(
+ self._section,
+ "bot_user_suffix",
+ "the suffix appended to nicks to indicate a bot",
+ " :]",
+ )
+
self.external_user_suffix = WeeChatOption(
self._section,
"external_user_suffix",