CivClassic / Kira

Discord bot for interacting with a Minecraft server using the KiraBukkitGateway plugin.
Other
1 stars 5 forks source link

Uncaught Exception #14

Open wingzero54 opened 3 years ago

wingzero54 commented 3 years ago

[JDA MainWS-ReadThread] ERROR JDA - One of the EventListeners had an uncaught exception net.dv8tion.jda.api.exceptions.InsufficientPermissionException: Cannot perform action due to a lack of Permission. Missing permission: MESSAGE_MANAGE at net.dv8tion.jda.internal.entities.ReceivedMessage.delete(ReceivedMessage.java:814) at com.github.maxopoly.kira.listener.DiscordMessageListener.onMessageReceived(DiscordMessageListener.java:78) at net.dv8tion.jda.api.hooks.ListenerAdapter.onEvent(ListenerAdapter.java:431) at net.dv8tion.jda.api.hooks.InterfacedEventManager.handle(InterfacedEventManager.java:96) at net.dv8tion.jda.internal.hooks.EventManagerProxy.handleInternally(EventManagerProxy.java:82) at net.dv8tion.jda.internal.hooks.EventManagerProxy.handle(EventManagerProxy.java:69) at net.dv8tion.jda.internal.JDAImpl.handleEvent(JDAImpl.java:147) at net.dv8tion.jda.internal.handle.MessageCreateHandler.handleInternally(MessageCreateHandler.java:122) at net.dv8tion.jda.internal.handle.SocketHandler.handle(SocketHandler.java:36) at net.dv8tion.jda.internal.requests.WebSocketClient.onDispatch(WebSocketClient.java:948) at net.dv8tion.jda.internal.requests.WebSocketClient.onEvent(WebSocketClient.java:835) at net.dv8tion.jda.internal.requests.WebSocketClient.handleEvent(WebSocketClient.java:813) at net.dv8tion.jda.internal.requests.WebSocketClient.onBinaryMessage(WebSocketClient.java:986) at com.neovisionaries.ws.client.ListenerManager.callOnBinaryMessage(ListenerManager.java:385) at com.neovisionaries.ws.client.ReadingThread.callOnBinaryMessage(ReadingThread.java:276) at com.neovisionaries.ws.client.ReadingThread.handleBinaryFrame(ReadingThread.java:996) at com.neovisionaries.ws.client.ReadingThread.handleFrame(ReadingThread.java:755) at com.neovisionaries.ws.client.ReadingThread.main(ReadingThread.java:108) at com.neovisionaries.ws.client.ReadingThread.runMain(ReadingThread.java:64) at com.neovisionaries.ws.client.WebSocketThread.run(WebSocketThread.java:45)