jbot icon indicating copy to clipboard operation
jbot copied to clipboard

Cycled Bot

Open laz-rb opened this issue 7 years ago • 2 comments

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: image

SS of the direct mention: image

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

laz-rb avatar Aug 18 '18 03:08 laz-rb

Hi! It also happens when I use it sometimes, any idea why?

UncleFirefox avatar Jan 16 '19 15:01 UncleFirefox

Hi, After download the latest version of the code, the error stops happening.

laz-rb avatar Jan 16 '19 20:01 laz-rb