diff options
| -rw-r--r-- | warmachine/connections/slack.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/warmachine/connections/slack.py b/warmachine/connections/slack.py index 938c541..ae8323a 100644 --- a/warmachine/connections/slack.py +++ b/warmachine/connections/slack.py | |||
| @@ -108,7 +108,7 @@ class SlackWS(Connection): | |||
| 108 | _user = self.user_nick_to_id[destination] | 108 | _user = self.user_nick_to_id[destination] |
| 109 | 109 | ||
| 110 | if 'is_bot' not in self.user_map[_user]: | 110 | if 'is_bot' not in self.user_map[_user]: |
| 111 | self.error('is_bot property not found for user {}'.format( | 111 | self.log.error('is_bot property not found for user {}'.format( |
| 112 | message['destination'])) | 112 | message['destination'])) |
| 113 | 113 | ||
| 114 | # slack doesn't allow bots to message other bots | 114 | # slack doesn't allow bots to message other bots |