undiscord
undiscord copied to clipboard
Error searching messages, API responded with status 401! {"message":"401: Unauthorized","code":0} CoreException {}
Undiscord Version
5.2.3
Browser
Version 118.0.5993.118 (Official Build) (64-bit)
Extension
TamperMonkey
Reproduction steps
Put in all the needed IDs and authorization tokens ran the code
Actual results
Error searching messages, API responded with status 401! {"message":"401: Unauthorized","code":0} CoreException {}
Expected results
To delete all messages successfully
Bug affects
- [X] DMs
- [ ] DMs (group)
- [ ] Channels
- [ ] Channel (NSFW)
Additional information & file uploads
Go to advanced settings and fill auth token (also go to Messages interval and check that Chrome hasnt auto filled any other field). For full automization go into the deleteDiscordMessages.user.js via tampermonkey and change replace the confirm function with the following:
async confirm() {
// Log message indicating automatic confirmation
log.verb('automatic confirmation, will continue...');
// Dont ask for confirmation for next requests
this.options.askForConfirmation = false;
// Always return 'true"
return true;
}
Then save and refresh the discord site.
which line is the confirm function on?
Go to advanced settings and fill auth token (also go to Messages interval and check that Chrome hasnt auto filled any other field). For full automization go into the deleteDiscordMessages.user.js via tampermonkey and change replace the confirm function with the following:
async confirm() { // Log message indicating automatic confirmation log.verb('automatic confirmation, will continue...'); // Dont ask for confirmation for next requests this.options.askForConfirmation = false; // Always return 'true" return true; }
Then save and refresh the discord site.
auth token fix fixes the error in 5.2.3 but shows another
Error searching messages, API responded with status 400! {"message":"Invalid Form Body","code":50035,"errors":{"max_id":{"_errors":[{"code":"NUMBER_TYPE_COERCE","message":"Value "[email protected]" is not snowflake."}]}}} CoreException {}
also i dont know why but it uses wrong email. thats not my acc email in the error. its my previous email
EDIT Okay i get it now, it wrote my email in another field i just had to remove it