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

Verify button not working #60

Open
1 task
pitzzahh opened this issue Feb 24, 2023 · 0 comments
Open
1 task

Verify button not working #60

pitzzahh opened this issue Feb 24, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@pitzzahh
Copy link
Owner

pitzzahh commented Feb 24, 2023

Problem

Clicking Verify button does not work.

net.dv8tion.jda.api.exceptions.HierarchyException: Can't modify a role with higher or equal highest role than yourself! Role: R:verified(1008674782721617960)
	at net.dv8tion.jda.internal.entities.GuildImpl.checkPosition(GuildImpl.java:1882) ~[JDA-5.0.0-alpha.17.jar:5.0.0-alpha.17]
	at net.dv8tion.jda.internal.entities.GuildImpl.addRoleToMember(GuildImpl.java:1551) ~[JDA-5.0.0-alpha.17.jar:5.0.0-alpha.17]
	at tech.araopj.springpitzzahhbot.listeners.ButtonListener.onButtonInteraction(ButtonListener.java:76) ~[classes/:na]
	at net.dv8tion.jda.api.hooks.ListenerAdapter.onEvent(ListenerAdapter.java:382) ~[JDA-5.0.0-alpha.17.jar:5.0.0-alpha.17]
	at net.dv8tion.jda.api.hooks.InterfacedEventManager.handle(InterfacedEventManager.java:96) ~[JDA-5.0.0-alpha.17.jar:5.0.0-alpha.17]
	at net.dv8tion.jda.internal.hooks.EventManagerProxy.handleInternally(EventManagerProxy.java:88) ~[JDA-5.0.0-alpha.17.jar:5.0.0-alpha.17]
	at net.dv8tion.jda.internal.hooks.EventManagerProxy.handle(EventManagerProxy.java:70) ~[JDA-5.0.0-alpha.17.jar:5.0.0-alpha.17]
	at net.dv8tion.jda.internal.JDAImpl.handleEvent(JDAImpl.java:170) ~[JDA-5.0.0-alpha.17.jar:5.0.0-alpha.17]
	at net.dv8tion.jda.internal.handle.InteractionCreateHandler.handleAction(InteractionCreateHandler.java:131) ~[JDA-5.0.0-alpha.17.jar:5.0.0-alpha.17]
	at net.dv8tion.jda.internal.handle.InteractionCreateHandler.handleInternally(InteractionCreateHandler.java:83) ~[JDA-5.0.0-alpha.17.jar:5.0.0-alpha.17]
	at net.dv8tion.jda.internal.handle.SocketHandler.handle(SocketHandler.java:39) ~[JDA-5.0.0-alpha.17.jar:5.0.0-alpha.17]
	at net.dv8tion.jda.internal.requests.WebSocketClient.onDispatch(WebSocketClient.java:953) ~[JDA-5.0.0-alpha.17.jar:5.0.0-alpha.17]
	at net.dv8tion.jda.internal.requests.WebSocketClient.onEvent(WebSocketClient.java:840) ~[JDA-5.0.0-alpha.17.jar:5.0.0-alpha.17]
	at net.dv8tion.jda.internal.requests.WebSocketClient.handleEvent(WebSocketClient.java:818) ~[JDA-5.0.0-alpha.17.jar:5.0.0-alpha.17]
	at net.dv8tion.jda.internal.requests.WebSocketClient.onBinaryMessage(WebSocketClient.java:992) ~[JDA-5.0.0-alpha.17.jar:5.0.0-alpha.17]
	at com.neovisionaries.ws.client.ListenerManager.callOnBinaryMessage(ListenerManager.java:385) ~[nv-websocket-client-2.14.jar:na]
	at com.neovisionaries.ws.client.ReadingThread.callOnBinaryMessage(ReadingThread.java:276) ~[nv-websocket-client-2.14.jar:na]
	at com.neovisionaries.ws.client.ReadingThread.handleBinaryFrame(ReadingThread.java:996) ~[nv-websocket-client-2.14.jar:na]
	at com.neovisionaries.ws.client.ReadingThread.handleFrame(ReadingThread.java:755) ~[nv-websocket-client-2.14.jar:na]
	at com.neovisionaries.ws.client.ReadingThread.main(ReadingThread.java:108) ~[nv-websocket-client-2.14.jar:na]
	at com.neovisionaries.ws.client.ReadingThread.runMain(ReadingThread.java:64) ~[nv-websocket-client-2.14.jar:na]
	at com.neovisionaries.ws.client.WebSocketThread.run(WebSocketThread.java:45) ~[nv-websocket-client-2.14.jar:na]

Tasks

  • Check ButtonListener class
@pitzzahh pitzzahh added the bug Something isn't working label Feb 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant