Comments (8)
from undiscord.
Seems to be an API problem. In a related thread someone suggested to set the Search Delay to 60000ms and the Delete Delay to 350ms. So far it seems to be working without stopping prematurely... it just now more than doubled the time it should've taken with a much shorter Search Delay. It appears if there's not enough time between the Search Delay it doesn't pull the next page properly. I'll tamper with gradually reducing the Search Delay to a faster but still stable value cause waiting a whole minute between pages is painful.
from undiscord.
I'm getting this exact same issue on Firefox. I thought maybe one of my other extensions was interfering with the script so I did a fresh install of Chrome and only had Tampermonkey installed. Same problem. Dunno why, I'm forced to check in constantly to restart the process.
from undiscord.
I'm using a 44 second search and a 550ms delete delay, it runs without stopping.
from undiscord.
gm112's fix works.
It seems like fetching pages are a bit inconsistent. Sometimes it works perfectly even on 10s search delay, other times it fails 3 times before working. Failures happen on the default 40s search delay as well.
from undiscord.
I'm very new to GitHub and I'm no coder, so I just have a simple, quick question, for gm112's solution, how do I input the solution/script into my Undiscord? I've been having the same problem of messages not getting deleted after 25 deleted messages with the issue of "ended because api returned an empty page"
from undiscord.
I'm very new to GitHub and I'm no coder, so I just have a simple, quick question, for gm112's solution, how do I input the solution/script into my Undiscord? I've been having the same problem of messages not getting deleted after 25 deleted messages with the issue of "ended because api returned an empty page"
Navigate into an empty directory and run:
git init
git pull https://github.com/gm112/undiscord
git checkout -B fix/stopping-run-when-messages-remain
yarn
yarn rollup -c
Then replace the content of your current undiscord script with the content of the new file deleteDiscordMessages.user.js
from undiscord.
Related Issues (20)
- api code failed? HOT 2
- API responded with status 401! HOT 4
- 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
- Error searching messages, API responded with status 400! HOT 2
- API
- Not Working, PLEASE FIX!!!!! HOT 4
- broken API HOT 2
- Stopped working entirely on chrome HOT 1
- Firefox autofills password into authorization token field, resulting in Error 401 HOT 3
- Using "@me" as the server ID causes the error 400 HOT 1
- Error deleting message, API responded with status 403! {"message":"Cannot execute action on a DM channel","code":50003} HOT 5
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.