I tried to set up Chatops with Slack and invited the bot to a channel successfully. It is successfully logging and connecting in as you can see below but Hubot (aka friday in my case) does not seem to respond to examples that I have tried from examples I see online. I’ve tried “@friday: help”, “!help”, “st2 list actions” and “!st2 list actions”
When debugging, I see the following:
root@b31433eae1069:~# [Wed Sep 05 2018 13:29:47 GMT+0000 (UTC)] DEBUG Loading adapter slack
[Wed Sep 05 2018 13:29:48 GMT+0000 (UTC)] INFO Logged in as friday of Opus Ops
[Wed Sep 05 2018 13:29:48 GMT+0000 (UTC)] INFO Slack client now connected
[Wed Sep 05 2018 13:29:48 GMT+0000 (UTC)] DEBUG Loading scripts from /root/scripts
[Wed Sep 05 2018 13:29:48 GMT+0000 (UTC)] DEBUG Loading scripts from /root/src/scripts
[Wed Sep 05 2018 13:57:32 GMT+0000 (UTC)] DEBUG Received message: 'friday help' in channel: chatops, from: <myname>
[Wed Sep 05 2018 13:57:32 GMT+0000 (UTC)] DEBUG No listeners executed; falling back to catch-all
[Wed Sep 05 2018 13:58:08 GMT+0000 (UTC)] DEBUG Received message: '@friday: help' in channel: chatops, from: <myname>
[Wed Sep 05 2018 13:58:08 GMT+0000 (UTC)] DEBUG No listeners executed; falling back to catch-all
warn: Reconnecting, on attempt 1
[Wed Sep 05 2018 14:39:51 GMT+0000 (UTC)] INFO Logged in as friday of <companyname>
[Wed Sep 05 2018 14:39:51 GMT+0000 (UTC)] INFO Slack client now connected
[Wed Sep 05 2018 17:29:14 GMT+0000 (UTC)] DEBUG Received message: '!help' in channel: chatops, from: <myname>
[Wed Sep 05 2018 17:29:14 GMT+0000 (UTC)] DEBUG No listeners executed; falling back to catch-all
[Wed Sep 05 2018 17:29:53 GMT+0000 (UTC)] DEBUG Received message: '@friday!help' in channel: chatops, from: <myname>
[Wed Sep 05 2018 17:29:53 GMT+0000 (UTC)] DEBUG No listeners executed; falling back to catch-all
[Wed Sep 05 2018 17:32:50 GMT+0000 (UTC)] DEBUG Received message: 'st2 list actions' in channel: chatops, from: <myname>
[Wed Sep 05 2018 17:32:50 GMT+0000 (UTC)] DEBUG No listeners executed; falling back to catch-all
[Wed Sep 05 2018 17:32:54 GMT+0000 (UTC)] DEBUG Received message: '!st2 list actions' in channel: chatops, from: <myname>
[Wed Sep 05 2018 17:32:54 GMT+0000 (UTC)] DEBUG No listeners executed; falling back to catch-all
So beside the fact that I don’t know what I am doing, there are a number of possibilities including I missed a critical setup step and I misconfigured something.
Can anyone point me in the right direction to get this working?