Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cycled Bot #116

Open
laz-rb opened this issue Aug 18, 2018 · 2 comments
Open

Cycled Bot #116

laz-rb opened this issue Aug 18, 2018 · 2 comments

Comments

@laz-rb
Copy link

laz-rb commented Aug 18, 2018

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

@UncleFirefox
Copy link

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

@laz-rb
Copy link
Author

laz-rb commented Jan 16, 2019

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants