net.dv8tion.jda.exceptions.BlockedException: The requested User blocks you or disallows you otherwise from PMing him!


Solutions on the web2

Solution icon of github
via GitHub by FishMissile
, 9 months ago
The requested User blocks you or disallows you otherwise from PMing him!

Solution icon of github
The requested User blocks you or disallows you otherwise from PMing him!

Stack trace

net.dv8tion.jda.exceptions.BlockedException: The requested User blocks you or disallows you otherwise from PMing him!
	at net.dv8tion.jda.entities.impl.PrivateChannelImpl.sendMessage(PrivateChannelImpl.java:102)
	at net.dv8tion.jda.entities.impl.PrivateChannelImpl.sendMessage(PrivateChannelImpl.java:80)
	at net.dirtydeeds.discordsoundboard.ChatSoundBoardListener.replyByPrivateMessage(ChatSoundBoardListener.java:327)
	at net.dirtydeeds.discordsoundboard.ChatSoundBoardListener.onMessageReceived(ChatSoundBoardListener.java:97)
	at net.dv8tion.jda.hooks.ListenerAdapter.onEvent(ListenerAdapter.java:184)
	at net.dv8tion.jda.hooks.InterfacedEventManager.handle(InterfacedEventManager.java:64)
	at net.dv8tion.jda.handle.MessageReceivedHandler.handleDefaultMessage(MessageReceivedHandler.java:94)
	at net.dv8tion.jda.handle.MessageReceivedHandler.handleInternally(MessageReceivedHandler.java:50)
	at net.dv8tion.jda.handle.SocketHandler.handle(SocketHandler.java:38)
	at net.dv8tion.jda.requests.WebSocketClient.handleEvent(WebSocketClient.java:596)
	at net.dv8tion.jda.requests.WebSocketClient.onTextMessage(WebSocketClient.java:324)
	at com.neovisionaries.ws.client.ListenerManager.callOnTextMessage(ListenerManager.java:352)
	at com.neovisionaries.ws.client.ReadingThread.callOnTextMessage(ReadingThread.java:233)
	at com.neovisionaries.ws.client.ReadingThread.callOnTextMessage(ReadingThread.java:211)
	at com.neovisionaries.ws.client.ReadingThread.handleTextFrame(ReadingThread.java:910)
	at com.neovisionaries.ws.client.ReadingThread.handleFrame(ReadingThread.java:693)
	at com.neovisionaries.ws.client.ReadingThread.main(ReadingThread.java:102)
	at com.neovisionaries.ws.client.ReadingThread.run(ReadingThread.java:61)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.