hubot-matteruser
hubot-matteruser copied to clipboard
connect mattermost not reply in channels
Hello, I use hubot to connect mattermost. Finally, I can talk with hubot in one-by-one, I add bot to channel, but bot can't reply any message alought I send 'help' 'time' message or I @bot 'help' 'time' message. How can bot reply message in channels, below is hubot start run log. mattermost version: 6.3.0 hubot-matteruser 5.4.5
I don't know how solve it. Please help me. Thank you
Creating network "hubot-matteruser_default" with the default driver
Creating hubot-matteruser_hubot-matteruser_1 ... done
Attaching to hubot-matteruser_hubot-matteruser_1
hubot-matteruser_1 | up to date in 0.811s
hubot-matteruser_1 |
hubot-matteruser_1 | 3 packages are looking for funding
hubot-matteruser_1 | run npm fund
for details
hubot-matteruser_1 |
hubot-matteruser_1 | [Fri Jan 21 2022 08:44:17 GMT+0000 (Coordinated Universal Time)] INFO Logging in with personal access token...
hubot-matteruser_1 | [Fri Jan 21 2022 08:44:17 GMT+0000 (Coordinated Universal Time)] INFO api url:http://192.168.0.225:8265/api/v4/users/me
hubot-matteruser_1 | [Fri Jan 21 2022 08:44:17 GMT+0000 (Coordinated Universal Time)] INFO Websocket URL: ws://192.168.0.225:8265/api/v4/websocket
hubot-matteruser_1 | [Fri Jan 21 2022 08:44:17 GMT+0000 (Coordinated Universal Time)] INFO Logged in as user "ai_manager" but not connected yet.
hubot-matteruser_1 | [Fri Jan 21 2022 08:44:17 GMT+0000 (Coordinated Universal Time)] INFO Loading /users/me
hubot-matteruser_1 | [Fri Jan 21 2022 08:44:17 GMT+0000 (Coordinated Universal Time)] INFO api url:http://192.168.0.225:8265/api/v4/users/me
hubot-matteruser_1 | [Fri Jan 21 2022 08:44:17 GMT+0000 (Coordinated Universal Time)] INFO Loading /users/me/preferences
hubot-matteruser_1 | [Fri Jan 21 2022 08:44:17 GMT+0000 (Coordinated Universal Time)] INFO api url:http://192.168.0.225:8265/api/v4/users/me/preferences
hubot-matteruser_1 | [Fri Jan 21 2022 08:44:17 GMT+0000 (Coordinated Universal Time)] INFO Loading /users/me/teams
hubot-matteruser_1 | [Fri Jan 21 2022 08:44:17 GMT+0000 (Coordinated Universal Time)] INFO api url:http://192.168.0.225:8265/api/v4/users/me/teams
hubot-matteruser_1 | [Fri Jan 21 2022 08:44:17 GMT+0000 (Coordinated Universal Time)] ERROR TypeError: Cannot read property 'error' of null
hubot-matteruser_1 | at p._onPreferences (/usr/src/hubot-matteruser/node_modules/mattermost-client/dist/mattermost-client.js:1:3515)
hubot-matteruser_1 | at Request._callback (/usr/src/hubot-matteruser/node_modules/mattermost-client/dist/mattermost-client.js:1:11951)
hubot-matteruser_1 | at Request.self.callback (/usr/src/hubot-matteruser/node_modules/request/request.js:185:22)
hubot-matteruser_1 | at Request.emit (events.js:400:28)
hubot-matteruser_1 | at Request.