You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 30, 2022. It is now read-only.
This may be a feature, but I am looking for a workaround or a method to disable a default function in the lita-slack bot.
I'm migrating from lita hipchat to lita slack and am having issues with certain commands. I have two scripts that automatically interact with my bot. They use an api keys to send a message to the bot and expect to receive a response. However, it seems that unlike the hipchat version of the bot, the lita slack will not respond to messages send via api keys.
It appears I cannot have bot to bot im channels so I cannot have one bot interact with another.
Using a legacy token or an Incoming Webhook to send a message is able to open an im channel to the bot and send out commands. However, these are ignored by the bot which only produces the log line: [] [DEBUG] desktop_notification event received from Slack and will be ignored.
Using a legacy token or an Incoming Webhook to message a room the bot is in also produces the same desktop_notification log without any response.
It seems that only messages send to the bot directly from user chat input will trigger the bot.
Is there a way to have the bot respond to api key messages and stop ignoring them? Is there another better way to replicate user input in a method that the bot will respond to?
The text was updated successfully, but these errors were encountered:
I've run into a similar issue. I'm trying to create some end-to-end tests to validate behavior but the inability to invoke commands from another "bot" (my e2e tests). @jimmycuadra do you have any guidance on this?
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
This may be a feature, but I am looking for a workaround or a method to disable a default function in the lita-slack bot.
I'm migrating from lita hipchat to lita slack and am having issues with certain commands. I have two scripts that automatically interact with my bot. They use an api keys to send a message to the bot and expect to receive a response. However, it seems that unlike the hipchat version of the bot, the lita slack will not respond to messages send via api keys.
[] [DEBUG] desktop_notification event received from Slack and will be ignored.
desktop_notification
log without any response.It seems that only messages send to the bot directly from user chat input will trigger the bot.
Is there a way to have the bot respond to api key messages and stop ignoring them? Is there another better way to replicate user input in a method that the bot will respond to?
The text was updated successfully, but these errors were encountered: