aboutsummaryrefslogtreecommitdiffstats
path: root/wee_slack.py
diff options
context:
space:
mode:
authorTrygve Aaberge <trygveaa@gmail.com>2018-02-18 16:52:38 +0100
committerTrygve Aaberge <trygveaa@gmail.com>2018-02-18 16:54:39 +0100
commit8a44ce536e8613e1ab5de2b514b57cadcd2b1e7d (patch)
tree813f64aca4e2711cee4e761b02bc1e482b1d278a /wee_slack.py
parent8cfc05e7d79c581de0310ead583017bbc7512e2f (diff)
downloadwee-slack-8a44ce536e8613e1ab5de2b514b57cadcd2b1e7d.tar.gz
Add slack_{type} to the message tag list
Makes it easier to people to filter slack messages the way they want (e.g. if you don't want team messages in the hotlist).
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 6b19da3..af73c10 100644
--- a/wee_slack.py
+++ b/wee_slack.py
@@ -2942,7 +2942,7 @@ def tag(tagset, user=None):
# catchall ?
"default": "irc_privmsg,notify_message,log1",
}
- return default_tag + "," + tagsets[tagset]
+ return "{},slack_{},{}".format(default_tag, tagset, tagsets[tagset])
###### New/converted command_ commands