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
[BUG] Not Deleting All Messages #55
Comments
I have run into a similar problem where not all messages are deleted. In my case, it often does this with many messages. For example, out of 9,000+ messages, it deletes 100. I keep running it on the same DM and it says that a blank page was returned. What makes it work somewhat: If I put something in the search field like "a", it will now delete more of the messages. Still not all, but in this particular case, another 2,000. OS: Win10 |
The script relies into the discord search, and as fair as I can tell in some cases the search pagination gets out of sync. I couldn't figure out exactly when it happens as I don't have that much stuff to delete, unless I generate something in order to test. A useful piece of information would be if you just use the app search for |
I was able to replicate this error with plenty of results still returned by Discord's search feature. Made sure one of my messages was in the active window in case it was an issue pulling chat which was not being directly shown at run time, but Undiscord still found no messages to delete. Circumvented it by repeating the process with the letter 'a' in Undiscord's search feature and it successfully found and deleted hundreds of messages. Working my way through the alphabet, which may be a temporary solution for others / help isolate the issue. |
Somewhat fixed by replacing the order in which messages are sorted in the search. replace "desc" on https://github.com/victornpb/deleteDiscordMessages/blob/master/deleteDiscordMessages.js#L204 with "asc" |
This worked for me temporarily. |
Describe the bug
When running deleter on a channel, it deletes most of the messages, I then ran through all messages on each channel of the group, but if I do a from:username, stuff that I pinned (the actual pin message, not the content I pinned) shows up, and also a few random messages still never got deleted (just messages, emotes, etc.) which should've. Not sure why. It seems to be detecting all my messages, I ran it in one chat, and ran through like 8k+ messages no errors. I ran it over again and it said nothing to delete, but it seems like there is.
System:
The text was updated successfully, but these errors were encountered: