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
Hello everyone!
I have an issue receiving a direct message. When receiving... the bot is cycled repeating the function, this only happens when the bot receives a direct message, but not when receives a mention.
I thought the problem is because of I was using an old version of Jbot, but even when I download the last release, I get the same issue. Do you know if something changed in the Slack API?
SS of a direct message:
SS of the direct mention:
The function is taken from the sample in the code: @Controller(events = {EventType.DIRECT_MENTION, EventType.DIRECT_MESSAGE}) public void onReceiveDM(WebSocketSession session, Event event) { reply(session, event, "Hi, I am " + slackService.getCurrentUser().getName()); }
Thanks in advance
The text was updated successfully, but these errors were encountered:
Hello everyone!
I have an issue receiving a direct message. When receiving... the bot is cycled repeating the function, this only happens when the bot receives a direct message, but not when receives a mention.
I thought the problem is because of I was using an old version of Jbot, but even when I download the last release, I get the same issue. Do you know if something changed in the Slack API?
SS of a direct message:
SS of the direct mention:
The function is taken from the sample in the code:
@Controller(events = {EventType.DIRECT_MENTION, EventType.DIRECT_MESSAGE}) public void onReceiveDM(WebSocketSession session, Event event) { reply(session, event, "Hi, I am " + slackService.getCurrentUser().getName()); }
Thanks in advance
The text was updated successfully, but these errors were encountered: