Closed datenshi888 closed 1 year ago
Same issue:
12.08 19:05:20 [Server] Server thread/ERROR Failed to get channel with ID '1007768441949786212', falling back to default channel
12.08 19:05:20 [Server] Thread-15/ERROR Failed to get channel with ID '1007768441949786212', falling back to default channel
12.08 19:05:20 [Server] Thread-15/WARN java.lang.IllegalStateException: Channel does not exist, check channel ID and bot permissions on both channel and category
12.08 19:05:20 [Server] Thread-15/WARN at de.erdbeerbaerlp.dcintegration.common.storage.CommandRegistry.updateSlashCommands(CommandRegistry.java:36)
12.08 19:05:20 [Server] Thread-15/WARN at de.erdbeerbaerlp.dcintegration.common.Discord.lambda$startThreads$9(Discord.java:385)
12.08 19:05:20 [Server] Thread-15/WARN at java.base/java.lang.Thread.run(Thread.java:833)
12.08 19:05:20 [Server] Thread-15/ERROR Failed to register slash commands! Please re-invite the bot to all servers the bot is on using this link: https://discord.com/oauth2/authorizelient_id=xxxxxxxxxxxxxxx&scope=applications.commands%20bot&permissions=2953964624
I have the same issue. Both versions of MC - 1.16 and 1.18
forge-1.16.5-36.2.28 and forge-1.18.2-40.1.68
Config apart from personalisation (bot token, channelIDs and names) similar to @datenshi888
Had to revert to version 2.4.5 for the bots to work. What I have noticed - 2.4.7 version does not make the bot online.
[14Aug2022 10:48:26.605] [Server thread/INFO] [STDOUT/]: [de.erdbeerbaerlp.dcintegration.forge.DiscordIntegration:serverStarted:193]: Started
[14Aug2022 10:48:26.607] [Server thread/ERROR] [Discord-Integration-Core/]: Failed to get channel with ID '862763254513532948', falling back to default channel
[14Aug2022 10:48:26.619] [Thread-30/ERROR] [Discord-Integration-Core/]: Failed to get channel with ID '862763196771336212', falling back to default channel
[14Aug2022 10:48:26.623] [Thread-30/INFO] [STDERR/]: [de.erdbeerbaerlp.dcintegration.common.Discord:lambda$startThreads$9:387]: java.lang.IllegalStateException: Channel does not exist, check channel ID and bot permissions on both channel and category
[14Aug2022 10:48:26.628] [Thread-30/INFO] [STDERR/]: [de.erdbeerbaerlp.dcintegration.common.Discord:lambda$startThreads$9:387]: at de.erdbeerbaerlp.dcintegration.common.storage.CommandRegistry.updateSlashCommands(CommandRegistry.java:36)
[14Aug2022 10:48:26.630] [Thread-30/INFO] [STDERR/]: [de.erdbeerbaerlp.dcintegration.common.Discord:lambda$startThreads$9:387]: at de.erdbeerbaerlp.dcintegration.common.Discord.lambda$startThreads$9(Discord.java:385)
[14Aug2022 10:48:26.632] [Thread-30/INFO] [STDERR/]: [de.erdbeerbaerlp.dcintegration.common.Discord:lambda$startThreads$9:387]: at java.lang.Thread.run(Unknown Source)
[14Aug2022 10:48:26.641] [Thread-30/ERROR] [Discord-Integration-Core/]: Failed to register slash commands! Please re-invite the bot to all servers the bot is on using this link: https://discord.com/oauth2/authorize?client_id=xxxxxxxxxxxxxxxxxx&scope=applications.commands%20bot&permissions=2953964624
Bot not even online in Discord.
Same issue here! Reverting as new one doesn't even work.
Not sure if it's the same issue but I can't get 2.4.7 to go online and the ingame /discord doesn't work. Using forge 40.1.73
Not sure if it's the same issue but I can't get 2.4.7 to go online and the ingame /discord doesn't work. Using forge 40.1.73
Downgrade back to 2.4.5. It works flawless. 2.4.7 is broke from the build and not working.
Same issue on 1.12.2 on forge build 14.23.5.2860. Found this further up in my logs:
[05:58:28] [JDA MainWS-ReadThread/INFO] [STDERR]: [net.dv8tion.jda.internal.utils.SimpleLogger:write:277]: [JDA MainWS-ReadThread] INFO WebSocketClient - Connected to WebSocket
[05:58:28] [JDA MainWS-WriteThread/INFO] [STDERR]: [net.dv8tion.jda.internal.utils.SimpleLogger:write:277]: [JDA MainWS-WriteThread] ERROR WebSocketClient - WebSocket connection was closed and cannot be recovered due to identification issues
CloseCode(4014 / Disallowed intents. Your bot might not be eligible to request a privileged intent such as GUILD_PRESENCES, MESSAGE_CONTENT, or GUILD_MEMBERS.)
[05:58:29] [Server thread/ERROR] [Discord-Integration-Core]: Failed to get channel with ID 'removed', falling back to default channel
Enabled both additional intents for my Discord bot application, bot now connects fine with the precompiled 2.4.7 version of this mod. Not sure which of the additional intents I enabled fixed the issue.
1.19.2 forge 43.1.27
If any it would have been the lowest one as I already had the previous two enabled and was still getting this error. Enabled the last to see if your fix works and got a crash instead.
[23:07:32] [main/ERROR] [minecraft/Main]: Failed to start the minecraft server net.minecraftforge.fml.LoadingFailedException: Loading errors encountered: [ Discord Integration (dcintegration) encountered an error during the sided_setup event phase §7java.lang.NoClassDefFoundError: de/erdbeerbaerlp/dcintegration/common/storage/CommandRegistry ] at net.minecraftforge.fml.ModLoader.waitForTransition(ModLoader.java:243) ~[fmlcore-1.19.2-43.1.27.jar%23340!/:?] {} at net.minecraftforge.fml.ModLoader.lambda$dispatchAndHandleError$24(ModLoader.java:208) ~[fmlcore-1.19.2-43.1.27.jar%23340!/:?] {} at java.util.Optional.ifPresent(Optional.java:178) ~[?:?] {re:mixin,re:computing_frames} at net.minecraftforge.fml.ModLoader.dispatchAndHandleError(ModLoader.java:208) ~[fmlcore-1.19.2-43.1.27.jar%23340!/:?] {} at net.minecraftforge.fml.ModLoader.lambda$loadMods$17(ModLoader.java:191) ~[fmlcore-1.19.2-43.1.27.jar%23340!/:?] {} at java.lang.Iterable.forEach(Iterable.java:75) ~[?:?] {re:mixin} at net.minecraftforge.fml.ModLoader.loadMods(ModLoader.java:191) ~[fmlcore-1.19.2-43.1.27.jar%23340!/:?] {} at net.minecraftforge.server.loading.ServerModLoader.load(ServerModLoader.java:33) ~[forge-1.19.2-43.1.27-universal.jar%23344!/:?] {re:classloading} at net.minecraft.server.Main.main(Main.java:113) ~[server-1.19.2-20220805.130853-srg.jar%23339!/:?] {re:classloading,re:mixin,pl:mixin:A} at jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104) ~[?:?] {} at java.lang.reflect.Method.invoke(Method.java:577) ~[?:?] {} at net.minecraftforge.fml.loading.targets.CommonServerLaunchHandler.lambda$launchService$0(CommonServerLaunchHandler.java:29) ~[fmlloader-1.19.2-43.1.27.jar%2367!/:?] {} at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:30) [modlauncher-10.0.8.jar%2354!/:?] {} at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:53) [modlauncher-10.0.8.jar%2354!/:?] {} at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:71) [modlauncher-10.0.8.jar%2354!/:?] {} at cpw.mods.modlauncher.Launcher.run(Launcher.java:106) [modlauncher-10.0.8.jar%2354!/:?] {} at cpw.mods.modlauncher.Launcher.main(Launcher.java:77) [modlauncher-10.0.8.jar%2354!/:?] {} at cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:26) [modlauncher-10.0.8.jar%2354!/:?] {} at cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:23) [modlauncher-10.0.8.jar%2354!/:?] {} at cpw.mods.bootstraplauncher.BootstrapLauncher.main(BootstrapLauncher.java:141) [bootstraplauncher-1.1.2.jar:?] {}
This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 7 days
What happened?
Updated to 2.4.7 version of the mod for 1.18.2 and started having this issue. Using it in the All The Mods 7 modpack (unmodified aside from DiscordIntegration).
[15:09:45] [Server thread/ERROR] [Discord-Integration-Core/]: Failed to get channel with ID '335616879760637975', falling back to default channel [15:09:45] [Thread-37/ERROR] [Discord-Integration-Core/]: Failed to get channel with ID '335616879760637975', falling back to default channel > java.lang.IllegalStateException: Channel does not exist, check channel ID and bot permissions on both channel and category at TRANSFORMER/dcintegration@2.4.7/de.erdbeerbaerlp.dcintegration.common.storage.CommandRegistry.updateSlashCommands(CommandRegistry.java:36) at TRANSFORMER/dcintegration@2.4.7/de.erdbeerbaerlp.dcintegration.common.Discord.lambda$startThreads$9(Discord.java:385) at java.base/java.lang.Thread.run(Thread.java:833) [15:09:45] [Thread-37/ERROR] [Discord-Integration-Core/]: Failed to register slash commands! Please re-invite the bot to all servers the bot is on using this link: https://discord.com/oauth2/authorize?client_id=735684153219088486&scope=applications.commands%20bot&permissions=2953964624
Happens with the previous config that worked with no issue on the older version and also on a freshly generated and edited config.
I have confirmed the channel exists and the id is correct and that the bot has necessary permissions.
Server still boots fine with this issue present.
Game Version
Other
What platform are you using?
Forge
Platform version
40.1.68
Config File
Crash report / Error log (if applicable)
No response
Additional Information
No response