shadowfacts / DiscordChat

Forge (server-side only) mod to relay chat from MC to Discord and vice versa.
Other
37 stars 17 forks source link

[1.7.10-2.3.0] Discord bot account goes online, doesn't relay messages or respond to commands. #138

Open cjay567 opened 6 years ago

cjay567 commented 6 years ago

Brief explanation of issue: When I start the server the bot goes online but messages from MC don't get relayed to Discord and vice versa.

Steps to reproduce:

Link to crash report/log in a gist:

DiscordChat version: 1.7.10-2.3.0

Minecraft version: 1.7.10

H3roDude commented 6 years ago

Got the same issue!

BaccarWozat commented 5 years ago

Same issue here. I have 2 servers with DiscordChat bots, one for 1.12.2 and one for 1.7.10. Both should post in different channels. The 1.7.10 one shows up but says nothing, doesn't accept commands, and doesn't relay messages either way.

Tander commented 5 years ago

1.7.10-2.3.0 - the issue still present. And it's not because of STDERROR's about groups.


[00:29:08] [JDA MainWS-ReadThread/INFO] [STDERR/discordchat]: [net.shadowfacts.discordchat.repack.net.dv8tion.jda.core.utils.SimpleLog:print:394]: [00:29:08] [Fatal] [JDASocket]: Encountered an exception:
[00:29:08] [JDA MainWS-ReadThread/INFO] [STDERR/discordchat]: [net.shadowfacts.discordchat.repack.net.dv8tion.jda.core.utils.SimpleLog:print:394]: [00:29:08] [Fatal] [JDASocket]: java.lang.NullPointerException
    at net.shadowfacts.discordchat.repack.net.dv8tion.jda.core.handle.ReadyHandler.guildSetupComplete(ReadyHandler.java:193)
    at net.shadowfacts.discordchat.repack.net.dv8tion.jda.core.handle.GuildCreateHandler.lambda$handleInternally$0(GuildCreateHandler.java:44)
    at net.shadowfacts.discordchat.repack.net.dv8tion.jda.core.entities.EntityBuilder.createGuildFirstPass(EntityBuilder.java:298)
    at net.shadowfacts.discordchat.repack.net.dv8tion.jda.core.handle.GuildCreateHandler.handleInternally(GuildCreateHandler.java:38)
    at net.shadowfacts.discordchat.repack.net.dv8tion.jda.core.handle.SocketHandler.handle(SocketHandler.java:37)
    at net.shadowfacts.discordchat.repack.net.dv8tion.jda.core.requests.WebSocketClient.handleEvent(WebSocketClient.java:876)
    at net.shadowfacts.discordchat.repack.net.dv8tion.jda.core.requests.WebSocketClient.onTextMessage(WebSocketClient.java:573)
    at net.shadowfacts.discordchat.repack.net.dv8tion.jda.core.requests.WebSocketClient.onBinaryMessage(WebSocketClient.java:910)
    at net.shadowfacts.discordchat.repack.com.neovisionaries.ws.client.ListenerManager.callOnBinaryMessage(ListenerManager.java:368)
    at net.shadowfacts.discordchat.repack.com.neovisionaries.ws.client.ReadingThread.callOnBinaryMessage(ReadingThread.java:270)
    at net.shadowfacts.discordchat.repack.com.neovisionaries.ws.client.ReadingThread.handleBinaryFrame(ReadingThread.java:990)
    at net.shadowfacts.discordchat.repack.com.neovisionaries.ws.client.ReadingThread.handleFrame(ReadingThread.java:749)
    at net.shadowfacts.discordchat.repack.com.neovisionaries.ws.client.ReadingThread.main(ReadingThread.java:108)
    at net.shadowfacts.discordchat.repack.com.neovisionaries.ws.client.ReadingThread.runMain(ReadingThread.java:64)
    at net.shadowfacts.discordchat.repack.com.neovisionaries.ws.client.WebSocketThread.run(WebSocketThread.java:45)```