Closed JoshCarlyle closed 7 years ago
yeah, updating to the latest release didnt help either
Issues #26 and #27 already address this and it would be easier for the dev to follow if comments were posted in existing issues rather than submitting new issues.
You do have some interesting sound names there though heh.
I found the issue. Discord changed the way the auth token is returned after updating the avatar. Updating the avatar is attempted at the start of the bot. When that fails the token gets corrupted and none of the commands work after that. I have it fixed and will get a new release uploaded ASAP.
Here's the log for when inputting a soundboard command :
The command fails to disappear.
Here's a log after that where I've asked the bot for the list:
[14:47:00] [Info] [ChatListener]: Responding to list command. Requested by Josh. [14:47:00] [Fatal] [JDA]: One of the EventListeners had an uncaught exception [14:47:00] [Fatal] [JDA]: Encountered an exception: [14:47:00] [Fatal] [JDA]: 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:80) 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)
I have not blocked the bot, this just happened spontaneously one day and has been happening ever since to me and others in my discord (and also it seems others on github too).