-
-
Notifications
You must be signed in to change notification settings - Fork 4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Parent channel of thread has no thread manager #10563
Comments
Seems to come from here: discord.js/packages/discord.js/src/util/Channels.js Lines 67 to 72 in 0873f9a
Which would imply a channel that does not have Potential causes could be a corrupted cache or a private thread being created on a somewhat rare channel type, which we have not considered yet. |
Looking at the partials, could this potentially be caused by the parent being partial? |
Do me a favour and install Listen to debug logs like so: import { Events } from "discord.js";
client.on(Events.Debug, (message) => {
// Optionally filter for the specific debug logs.
// if (!message.startsWith("[14.7.2 DEBUG]")) return;
console.log(message);
}); Yes, it does say 14.7.2 instead of 14.17.2, but don't worry about that! It's just a string. I'm curious to see what the incoming data is, and what it eventually resolved to, as well as what |
Well then. That sounds like a bug in itself... hold off on that, I guess (or implement the changes yourself, if you know how to patch versions). |
Haha I have no idea. But this is a bug with djs then right, not with my codebase? |
Cannot answer that without knowing what's going on first. Try using 14.17.3-dev.1736104404-15cbca941... should not get that error any more. |
14.17.3-dev.1736104404-15cbca941 boots succesfully and does not seem to produce any errors from what I can tell. |
Listen to the debug event and when you crash, share the logs! |
Will do, however I did go 3 months without encountering this error before today so I'm not sure how long that will take :P |
Hi Jiralite, are the changes you made for 14.17.3-dev.1736104404-15cbca941 also included in the stable 14.17.3 release? |
No. Anyway, The patches in 14.17.3 are already in 14.17.3-dev.1736104404-15cbca941, so you're not missing anything. |
Which package is this bug report for?
discord.js
Issue description
Bot "randomly" (not during boot cycle) crashes with error below:
Seems to be an issue with thread parent checks or something. I talked to @almostSouji about this problem here, for some context.
Note (souji):
The issue is not reproduceable on reboot and happened only once during normal operation.
Code sample
No response
Versions
Issue priority
Low (slightly annoying)
Which partials do you have configured?
User, Channel, GuildMember, Message, Reaction
Which gateway intents are you subscribing to?
Guilds, GuildMembers, GuildModeration, GuildMessages, GuildMessageReactions, DirectMessages, MessageContent
I have tested this issue on a development release
No response
The text was updated successfully, but these errors were encountered: