jsdelivr / globalping-chat-bots

0 stars 0 forks source link

subscribe to message events #36

Closed didil closed 1 year ago

didil commented 1 year ago

fixes #33

didil commented 1 year ago

Adding message.im and reinstalling should be the opportunity to see if it fixes the mentions. Right now the mentions are not working for me in the production app

jimaek commented 1 year ago

what Slack client are you using? Because it works correct for me in our Slack org

jimaek commented 1 year ago

ALso note that "guests" cant interact with apps I believe, so it wont work for you in our Slack org, but should work in your own org where you are a full member

didil commented 1 year ago

Chrome web app for Slack + Mac os Slack desktop app, both not working. But it works for on my dev server

didil commented 1 year ago

I'm testing in my own slack org

jimaek commented 1 year ago

If you check our Slack I mentioned you in a test where the bot works. Can you maybe check the logs and compare my mention that worked and yours to see if there is a difference?

didil commented 1 year ago

it's working for me in your workspace. I'll try again with a fresh workspace

jimaek commented 1 year ago

Maybe lets open a separate issue for the issue you're experiencing. Because I dont think its related to this PR.

jimaek commented 1 year ago

for mentions in group conversations, if the bot user was not added before, we are not notified about the message and nothing is displayed. Slack doesn't display anything about the need to invite. I'm not sure what we can do about this. for mentions in private channels, if the bot user was not added before, Slack displays a reminder to invite the user to the channel, then it works as expected after the bot is added.

I am talking about this message which we seem to send manually. We do it for the / command, but not the bot.

https://dl.dropboxusercontent.com/s/cnlir8w9tsy3wvt/chrome_2023-04-27_12-09-46.png

How does it work?

didil commented 1 year ago

@jimaek that's for private channels: