Discordjs and TypeScript typescript error

Hello, someone else has this same failure, all the embeds in the send section are failing, the bot was working fine until a few hours ago.
No description
28 Replies
Favna
Favna3mo ago
PartialGroupDM means you enabled channel partials in your client config and you need to fetch the channel before sending it to make sure it's cached
Sebastián🪐
Sebastián🪐OP3mo ago
I don't understand very well what you mean, the bot was working fine hours ago, out of the blue I clone the repository again and install the packages and I get an error in the discord one.
No description
Sebastián🪐
Sebastián🪐OP3mo ago
No description
Favna
Favna3mo ago
What's your typescript version?
Sebastián🪐
Sebastián🪐OP3mo ago
No description
Favna
Favna3mo ago
Set it to ~5.4.5 in your package.json. Mind the tilde.
Sebastián🪐
Sebastián🪐OP3mo ago
Ok, I'll give it a try, thanks! Same error, but thanks for the help.
Favna
Favna3mo ago
Did you run your package manager install afterwards?
Favna
Favna3mo ago
If so, you'll just have to use git blame to find the cause since you say it worked before https://www.atlassian.com/git/tutorials/inspecting-a-repository/git-blame
Atlassian
git blame | Atlassian Git Tutorial
The git blame command is a troubleshooting utility that has extensive usage options. Learn how to use this command, how it differs from Git Log, and more.
Sebastián🪐
Sebastián🪐OP3mo ago
That's the strange thing, I went back to previous commits and I get the same failure and not only in a crazy way in railway too, I put previous commits and it presents the failure in the library.
Sebastián🪐
Sebastián🪐OP3mo ago
I just tried another bot with the framework and it also has the same error, they are different codes and separate repositories, all my bots outside the framework are working normally.
No description
Favna
Favna3mo ago
Please share the repository then Adjusted the title because this is not a problem per se with framework
Sebastián🪐
Sebastián🪐OP3mo ago
The cause of the error is the new version 14.16.1, I went back to 14.14.1 and it works fine.
Favna
Favna3mo ago
@vladdy
vladdy
vladdy3mo ago
What
Favna
Favna3mo ago
seems like djs update brokey things idk
vladdy
vladdy3mo ago
nop its correct messages can now come from partial group dms
Sebastián🪐
Sebastián🪐OP3mo ago
I have several bots, all the ones that were updated to discord 14.16.1 collapsed, not only locally but also in production with railway.app, when I went back to a previous version the problem disappeared.
No description
vladdy
vladdy3mo ago
If you're getting compile errors because of channel.send not being present everywhere that is correct If its other errors, submit an issue on djs
Sebastián🪐
Sebastián🪐OP3mo ago
There are several errors, the most common and repeated in all the embeds is send, the other errors are in imports as shown in the images above.
vladdy
vladdy3mo ago
huh i'll take a look, could be just ts having a stroke
Sebastián🪐
Sebastián🪐OP3mo ago
hahaha is possible, then I'll be testing the other bots, so far there are only 3
vladdy
vladdy3mo ago
i just bumped highlight's beta and i only had issues with partial group dm send
Sebastián🪐
Sebastián🪐OP3mo ago
It may be that typescript is blowing up with the new version of discord, but I'll check later
vladdy
vladdy3mo ago
no rush
Sebastián🪐
Sebastián🪐OP3mo ago
:DJ_Cool:
vladdy
vladdy3mo ago
also we have a fix incoming in djs soon which solves msg.channel showing up with partial group dm channel in the wrong contexts
Sebastián🪐
Sebastián🪐OP3mo ago
nice bro!
Want results from more Discord servers?
Add your server