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

GitHub | FishMissile | 2 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    The requested User blocks you

    GitHub | 2 months ago | FishMissile
    net.dv8tion.jda.exceptions.BlockedException: The requested User blocks you or disallows you otherwise from PMing him!
  2. 0

    Commands Won't Disappear + List Not Working

    GitHub | 2 months ago | JoshCarlyle
    net.dv8tion.jda.exceptions.BlockedException: The requested User blocks you or disallows you otherwise from PMing him!
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    GitHub comment 10#274227687

    GitHub | 1 month ago | safetyguy14
    java.lang.StringIndexOutOfBoundsException: String index out of range: -1
  5. 0

    GitHub comment 9#269056269

    GitHub | 2 months ago | lib2k
    java.lang.RuntimeException: Could not get Private-channel for user: lib2k... Error: HTTPResponse[401: {"code": 0, "message": "401: Unauthorized"}]

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. 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()
    2. net.dv8tion.jda
      PrivateChannelImpl.sendMessage
      1. net.dv8tion.jda.entities.impl.PrivateChannelImpl.sendMessage(PrivateChannelImpl.java:102)
      2. net.dv8tion.jda.entities.impl.PrivateChannelImpl.sendMessage(PrivateChannelImpl.java:80)
      2 frames
    3. net.dirtydeeds.discordsoundboard
      ChatSoundBoardListener.onMessageReceived
      1. net.dirtydeeds.discordsoundboard.ChatSoundBoardListener.replyByPrivateMessage(ChatSoundBoardListener.java:327)
      2. net.dirtydeeds.discordsoundboard.ChatSoundBoardListener.onMessageReceived(ChatSoundBoardListener.java:97)
      2 frames
    4. net.dv8tion.jda
      WebSocketClient.onTextMessage
      1. net.dv8tion.jda.hooks.ListenerAdapter.onEvent(ListenerAdapter.java:184)
      2. net.dv8tion.jda.hooks.InterfacedEventManager.handle(InterfacedEventManager.java:64)
      3. net.dv8tion.jda.handle.MessageReceivedHandler.handleDefaultMessage(MessageReceivedHandler.java:94)
      4. net.dv8tion.jda.handle.MessageReceivedHandler.handleInternally(MessageReceivedHandler.java:50)
      5. net.dv8tion.jda.handle.SocketHandler.handle(SocketHandler.java:38)
      6. net.dv8tion.jda.requests.WebSocketClient.handleEvent(WebSocketClient.java:596)
      7. net.dv8tion.jda.requests.WebSocketClient.onTextMessage(WebSocketClient.java:324)
      7 frames
    5. com.neovisionaries.ws
      ReadingThread.run
      1. com.neovisionaries.ws.client.ListenerManager.callOnTextMessage(ListenerManager.java:352)
      2. com.neovisionaries.ws.client.ReadingThread.callOnTextMessage(ReadingThread.java:233)
      3. com.neovisionaries.ws.client.ReadingThread.callOnTextMessage(ReadingThread.java:211)
      4. com.neovisionaries.ws.client.ReadingThread.handleTextFrame(ReadingThread.java:910)
      5. com.neovisionaries.ws.client.ReadingThread.handleFrame(ReadingThread.java:693)
      6. com.neovisionaries.ws.client.ReadingThread.main(ReadingThread.java:102)
      7. com.neovisionaries.ws.client.ReadingThread.run(ReadingThread.java:61)
      7 frames