Skip to content

Team support #45

Description

@pidzvnese

Hello @gotlium,
it seems mattermost_bot doesn't like when people speak to him from the different team? Does mattermost_bot support this?

Here is the traceback when sending msg to the chatbot from a channel of another team. The chatbot account in this team.

[08/30/2017 14:53:52] Starting new HTTP connection (1): vltv.stream Unhandled exception in thread started by <bound method WorkerPool.do_work of <mattermost_bot.utils.WorkerPool object at 0x7fede9dab668>> Traceback (most recent call last): File "/usr/local/lib/python3.5/dist-packages/mattermost_bot-1.0.20-py3.5.egg/mattermost_bot/utils.py", line 31, in do_work self.func(msg) File "/usr/local/lib/python3.5/dist-packages/mattermost_bot-1.0.20-py3.5.egg/mattermost_bot/dispatcher.py", line 64, in dispatch_msg if self.is_personal(msg): File "/usr/local/lib/python3.5/dist-packages/mattermost_bot-1.0.20-py3.5.egg/mattermost_bot/dispatcher.py", line 54, in is_personal channel_type = channel['channel']['type'] KeyError: 'channel'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions