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

Bot doesn't react to clicks on reactions #64

Closed
Andre601 opened this issue May 10, 2018 · 6 comments
Closed

Bot doesn't react to clicks on reactions #64

Andre601 opened this issue May 10, 2018 · 6 comments

Comments

@Andre601
Copy link
Contributor

I currently use the Slideshow and Slideshow builder for my bot.
When I run a command, does the bot generate the slideshow and add reactions.
But the bot doesn't notice the adding of reactions.

Some info:
I've set the EventWaiter in the Main.java as a new EventWaiter and get it later in the CmdNeko.java
I then load 30 images through a function in the HttpUtil.java.
Then finally creating the slideshow in the CmdNeko.java.

Like mentioned before does the bot create the embed and adds the images (Shows the text "Image 1/30") but it just doesn't react, when you click on the reactions.
The bot has permission to manage messages and adding embeds and it also disables the slideshow after the timeout (changes the image).

Another Issue I also had was, that adding jda-utilities to the pom.xml as artifactId causes errors (bintray doesn't have this artifactId), while adding the different libraries (jda-utilities-menu and jda-utilities-common) works completely fine.

It would be so happy, if someone could help me with that issue.

@Sanduhr32
Copy link

Sanduhr32 commented May 10, 2018

You forgot to add the event waiter in the JDABuilders listeners...
How should it get the events without JDA providing them?
This is no JDA nor Utilities issue. Join the JDA Guild for getting further support.
Githubs issue tracker is for bug reports and feature requests.

@Andre601
Copy link
Contributor Author

So it would be builder.addEventListener(waiter); in the Main.java?

@Sanduhr32
Copy link

Sanduhr32 commented May 10, 2018

Yes ofc. But let's move to the official JDA guild if you need more support ;)
I am sure someone will be there for helping you.

@Andre601
Copy link
Contributor Author

I'm not in that guild for different reasons.
Anyway, thank you for the quick help.

@Andre601
Copy link
Contributor Author

Oh. before I forget: What about the other issue?
That one with the pom.xml

@JDA-Applications JDA-Applications deleted a comment from Sanduhr32 May 10, 2018
@Shengaero
Copy link
Collaborator

@Andre601 Your pom must be invalid in some way.
@jagrosh uses JDA-Utilities in many of his projects, including the music bot and Vortex. I'd suggest looking at their pom.xml files.

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

3 participants