messages fetch doesnt show up older messages
Hello!
I run into a problem with my code:
Its working good, but when there are older messages with embeds they don't add them why?
5 Replies
• What's your exact discord.js
npm list discord.js
and node node -v
version?
• Post the full error stack trace, not just the top part!
• Show your code!
• Explain what exactly your issue is.
• Not a discord.js issue? Check out #useful-servers.Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
But the messages is not older than yesterday
So whats the issue with my code?
sometimes he doesnt reconize messages
So i run the command he fetch the channel messages but older embeds does not go through the loop
The function does not get the first message in the screenshot
So what i want to do is that the function loop all messages in this channel, and grabs every message with an embed then when the embed has specific title and field.name the function will grab the value from the field and adds it to the variable then the function deletes this messages. After that we will return me the result of all values together
But somehow older messages will not be deleted
am i dumb
i am
wait
okay, maybe i am dumb because of no sleep, thanks anyways haha.