Is this really a Discord.js problem?

So, I used BotGhost to build my public bot, and I started noticing that it did behave incorrectly when a message got deleted, it used to send logs about the message including the message content, if it was partial or not, and a bunch of other info from the cache.

The problem tho is that the bot is now marking most of the new messages sent (not older than 14 days ofc) as partial, only 1 of my 2 bots is doing that.

I tried reporting this bug to the BotGhost developer and owner Tom, and the replied with this:

Hi i think youve been told this before but it cant be fixed as its a quirk between discord + discord.js. You cant fetch deleted messages and discord.js sometimes stores messages partially to save memory. This results in some messages that are deleted njot having complete data if they were not deleted in the current session.


I feel like he's explaining why messages are partial after they're older than 14 days, but not why the bots behave different on the same message deletion.

By reporting this again I got told to reach out to the Discord.js official server, can I get an explanation from you of why this is happening and if its a BotGhost or a Discord.js problem? thank you
Was this page helpful?