MiraWaNeko / DiscordIntegration

Communicate between Minecraft and Discord
https://discordintegration.net
GNU Affero General Public License v3.0
88 stars 43 forks source link

Discord Update Broke Mod? #218

Closed naqaden closed 3 years ago

naqaden commented 3 years ago

Basic information

Minecraft version: 1.12.2

DiscordIntegration version: 3.0.5 (although the logger prints 3.0.4)

Server type and version: Forge 14.23.5.2847

Config:

``` { "discord": { "token": "REDACTEDBOTTOKEN", "ignoresBots": true, "allowLinking": true, "ignoresUsers": [], "channels": { "generic": { "commandPrefix": "!", "canExecuteCommands": false, "stripMinecraftCodes": true, "allowDMCommands": false, "relayChat": true, "messages": { "chatMessage": "**<{USER}>** {MESSAGE}" }, "commands": [] }, "channels": { "REDACTEDCHANNELID": {} } } }, "minecraft": { "dimensions": { "generic": { "ignoreFakePlayerChat": true, "relaySayCommand": true, "relayMeCommand": true, "canMentionEveryone": false, "canMentionHere": false, "messageIgnoreRegex": [], "relayServerStart": true, "relayServerStop": true, "relayServerCrash": true, "chatPrefix": "", "canMentionUsers": true, "canMentionRoles": true, "discordChannel": [REDACTEDCHANNELID], "relayAchievements": true, "relayChat": true, "relayCommands": false, "relayPlayerJoin": true, "relayPlayerLeave": true, "relayPlayerDeath": true, "messages": { "chatMessage": { "normal": "**<{USER}>** {MESSAGE}", "webhook": "{MESSAGE}" }, "command": { "normal": "", "webhook": "" }, "playerJoin": { "normal": "**{USER}** joined the server.", "webhook": "*Joined the server*" }, "playerLeave": { "normal": "**{USER}** left the server.", "webhook": "*Left the server*" }, "playerDeath": { "normal": "**{USER}** {REASON}!", "webhook": "*{REASON}*" }, "achievement": { "normal": "**{USER}** achieved **{ACHIEVEMENT}**!\n*{DESCRIPTION}*", "webhook": "*Achieved **{ACHIEVEMENT}**!\n{DESCRIPTION}*" }, "serverStart": "Server started!", "serverStop": "Server stopped!", "serverCrash": "Server stopped!" } }, "dimensions": {} }, "integrations": { "dynmapEnabled": false } }, "imc": { "enabled": true, "mode": "whitelist", "list": [] } } ```

Expected behavior

The bot comes online, says Server started! and relays chat until the server stops.

The server says: [Server thread] INFO JDA - Login Successful! [JDA MainWS-ReadThread] INFO WebSocketClient - Connected to WebSocket [JDA MainWS-ReadThread] INFO JDA - Finished Loading! [DiscordIntegration]: [3.0.4] Logged in as REDACTEDBOTNAME

Actual behavior

The bot comes online, says nothing, and does nothing.

The server says: [Server thread] INFO JDA - Login Successful! [JDA MainWS-ReadThread] INFO WebSocketClient - Connected to WebSocket

Steps to reproduce

Follow the setup guide.

I first set this up 1 week ago and everything worked well. Without changing any Discord settings or mod configs, the bot doesn't work anymore. The only related change I'm aware of is my Discord client updating on 10/29 to Stable 70781 (6d2522f).

MiraWaNeko commented 3 years ago

Try what was suggested in this comment https://github.com/Chikachi/DiscordIntegration/issues/216#issuecomment-717658151

naqaden commented 3 years ago

Bingo! I only needed the 2nd permission, Server Members Intent. Thanks!