We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d6e08c5 commit ad1586bCopy full SHA for ad1586b
rtmbot/core.py
@@ -125,7 +125,8 @@ def output(self):
125
result = json.loads(self.slack_client.api_call('im.open', user=destination))
126
except ValueError:
127
self._dbg("Parse error on im.open call results!")
128
- channel = self.slack_client.server.channels.find(result.get(u'channel', {}).get(u'id', None))
+ channel = self.slack_client.server.channels.find(
129
+ result.get(u'channel', {}).get(u'id', None))
130
elif destination.startswith('G'):
131
result = self.slack_client.api_call('groups.open', channel=destination)
132
channel = self.slack_client.server.channels.find(destination)
0 commit comments