diff options
Diffstat (limited to 'wee_slack.py')
-rw-r--r-- | wee_slack.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/wee_slack.py b/wee_slack.py index a344be6..9ebe788 100644 --- a/wee_slack.py +++ b/wee_slack.py @@ -999,6 +999,9 @@ class SlackTeam(object): self.set_highlight_words(kwargs.get('highlight_words', "")) self.load_emoji_completions() + def __repr__(self): + return "domain={} nick={}".format(self.subdomain, self.nick) + def __eq__(self, compare_str): if compare_str == self.token or compare_str == self.domain or compare_str == self.subdomain: return True |