diff options
Diffstat (limited to 'warmachine')
| -rw-r--r-- | warmachine/connections/slack.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/warmachine/connections/slack.py b/warmachine/connections/slack.py index 82f6e75..deb0a8e 100644 --- a/warmachine/connections/slack.py +++ b/warmachine/connections/slack.py | |||
| @@ -112,7 +112,8 @@ class SlackWS(Connection): | |||
| 112 | destination)) | 112 | destination)) |
| 113 | 113 | ||
| 114 | # slack doesn't allow bots to message other bots | 114 | # slack doesn't allow bots to message other bots |
| 115 | if '#' not in destination and self.user_map[_user]['is_bot']: | 115 | if '#' not in destination and (self.user_map[_user]['is_bot'] or\ |
| 116 | self.user_map[_user]['deleted']): | ||
| 116 | return | 117 | return |
| 117 | 118 | ||
| 118 | destination = self.get_dm_id_by_user(_user) | 119 | destination = self.get_dm_id_by_user(_user) |