aboutsummaryrefslogtreecommitdiffstats
path: root/wee_slack.py
diff options
context:
space:
mode:
authorRyan Huber <rhuber@gmail.com>2017-02-06 11:55:48 -0800
committerRyan Huber <rhuber@gmail.com>2017-02-06 11:55:48 -0800
commit99822b22b4e1cb82782100564b6504c6a240dd05 (patch)
tree1f3d555363b88d00a0b476a41dc6fc981af638a9 /wee_slack.py
parent8c4b8baeba8db45e98550fb2f92fe13322f4562c (diff)
downloadwee-slack-99822b22b4e1cb82782100564b6504c6a240dd05.tar.gz
highlight slack keywords
Diffstat (limited to 'wee_slack.py')
-rw-r--r--wee_slack.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/wee_slack.py b/wee_slack.py
index beaeec5..daaa74d 100644
--- a/wee_slack.py
+++ b/wee_slack.py
@@ -974,7 +974,7 @@ class SlackChannel(object):
def set_highlights(self):
#highlight my own name and any set highlights
if self.channel_buffer:
- highlights = self.team.highlight_words.union({'@' + self.team.nick})
+ highlights = self.team.highlight_words.union({'@' + self.team.nick, "!here", "!channel", "!everyone"})
h_str = ",".join(highlights)
w.buffer_set(self.channel_buffer, "highlight_words", h_str)
def create_buffer(self):