Skip to content

Bot crashes with direct Message #3

Description

@lhoff94

if a user is sending a direct Message to the bot the Slackrelay crashes.

Traceback:
[2017-08-01 01:40:44,944] [DEBUG] Channel: {u'ok': False, u'error': u'channel_not_found'} Traceback (most recent call last): File "slackrelay.py", line 457, in <module> main() File "slackrelay.py", line 371, in main channel = Channel.lookup(sc, team, part['channel']) File "slackrelay.py", line 96, in lookup channelname = "#" + channelInfo['channel']['name'] KeyError: 'channel'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions