Comments (5)
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
Browser: Chrome
from undiscord.
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"
from undiscord.
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 from:me
and see if it really returns "no results" or if maybe I'm doing something wrong.
from undiscord.
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.
from undiscord.
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.
from undiscord.
Related Issues (20)
- Not deleting bug after 25 messages HOT 15
- Ends deletion automatically when its job is not done HOT 1
- Delete by date doesn't work HOT 3
- Always has an error finding messages when i open the DM channel + only deletes 25 at a time which annoys me + i have to refresh every time HOT 3
- api code failed? HOT 2
- API responded with status 401! HOT 3
- Error searching messages, API responded with status 401! {"message":"401: Unauthorized","code":0} CoreException {} HOT 3
- Bulk Delete Messages with index.json fails. HOT 5
- Network Error HOT 3
- 400 issue when trying to delete messages with the index.json file HOT 1
- Doesnt work on Linux HOT 3
- Clicking [get] on Authorization and Author doesn't do anything. HOT 1
- Microsoft Edge does not work. HOT 2
- date range is broken
- only deletes 20-50 messages HOT 1
- Ended because API returned an empty page. HOT 5
- Error searching messages, API responded with status 400! HOT 2
- API
- broken API HOT 2
- Stopped working entirely on chrome HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from undiscord.