aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--wee_slack.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/wee_slack.py b/wee_slack.py
index d1a526b..c0e220a 100644
--- a/wee_slack.py
+++ b/wee_slack.py
@@ -1072,6 +1072,7 @@ class SlackTeam(object):
# This highlight step must happen after we have set related server
self.set_highlight_words(kwargs.get('highlight_words', ""))
self.load_emoji_completions()
+ self.type = "team"
def __repr__(self):
return "domain={} nick={}".format(self.subdomain, self.nick)
@@ -1082,6 +1083,10 @@ class SlackTeam(object):
else:
return False
+ @property
+ def members(self):
+ return self.users.viewkeys()
+
def load_emoji_completions(self):
self.emoji_completions = list(EMOJI)
if self.emoji_completions: