Skip to content
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

Not deleting bug after 25 messages #536

Open
4 tasks done
sorryzzss opened this issue Aug 2, 2023 · 15 comments
Open
4 tasks done

Not deleting bug after 25 messages #536

sorryzzss opened this issue Aug 2, 2023 · 15 comments

Comments

@sorryzzss
Copy link

Undiscord Version

v5.2.0

Browser

115.0.5790.110 (Official Build) (64-bit)

Extension

TamperMonkey

Reproduction steps

I put in the date and everything i want i press author id server id channel id then i press delete and this error happens after 25 messages and then if i try it press delete again it doesnt it instantly.

[End condition A]. {"running":true,"delCount":25,"failCount":0,"grandTotal":76,"offset":0,"iterations":2,"_seachResponse"

Actual results

This pops up

image

Expected results

it should delete the dms instead of stopping

Bug affects

  • DMs
  • DMs (group)
  • Channels
  • Channel (NSFW)

Additional information & file uploads

image

@fennelbaby
Copy link

I'm having the same exact issue. Following.

@Username124623
Copy link

Same issue @victornpb would appreciate you taking a look

@Manuru1
Copy link

Manuru1 commented Aug 5, 2023

Same issue, doesnt seem to be a fix rn.

@SilentNewt
Copy link

same issue, still needs a fix

@NaryanSambhi
Copy link

looks like an old version. discord updated and it broke. Use the new version. New version doesn't work? Check all fields are correct, 400 and 401 errors are from incorrect keys and dates being auto-filled with your browsers discord password for some reason. This is what i figured out troubleshooting for myself, lmk if it works!

@Manuru1
Copy link

Manuru1 commented Aug 10, 2023

Fixed it. Heres how.

Download the newest version on the github.

Make sure your AUTO FILL Settings with discord.com are OFF FOR PASSWORDS, USERNAMES ETC ETC. it will hit you with the "400" error. As for "401" make sure you scroll down to Adv settings and fill that token up baby.

Personally, Set your Search delay to 5000ms, and delete delay 2600ms, This is so discord doesn't cuck you when deleting, and you can look as "legit" as possible without getting rate limited.

Go to ur dms, fill up those tight fields, and fire off.

Note: If you use a form of ad blocker or tracker blocker, turn that off too.

@RaceIsIm
Copy link

Wow thats lowkey annoying. I hope there is an actual fix pushed soon. with 2600ms it takes 3 business days to undiscord anything 🤣

@x86id93
Copy link

x86id93 commented Aug 13, 2023

the issue is with the api
when you delete page 1 you need to wait for page 2 to drop down
to skip this you need to delete page 2 before page 1

@RoyalBeefy
Copy link

I've tried several ways to fix most of the bugs in the latest version of undiscord and my only solution that has worked for me is to install both Greasy Fork version and OpenUserJS both at the same time with either tampermonkey or violentmonkey then go to the desired dm and press the right undiscord icon and it should work!

@sorryzzss
Copy link
Author

I've tried several ways to fix most of the bugs in the latest version of undiscord and my only solution that has worked for me is to install both Greasy Fork version and OpenUserJS both at the same time with either tampermonkey or violentmonkey then go to the desired dm and press the right undiscord icon and it should work!

Whats your discord? could you show me how to do this?

@Balls0fSteel
Copy link

The API is very, very limited now. I tried to remove a few posts by myself and I get rate limited instantly. BY HAND. Years ago I could remove 100 post no problem. Months ago I could remove like 20-30 no problem. Now it's just a few and I get slapped with rate limit.

But make sure you buy Nitro, and you buy server boost and you support Discord guys!!11

(God, I hate Discord.)

@eon-pixel
Copy link

eon-pixel commented Sep 6, 2023

The API is very, very limited now. I tried to remove a few posts by myself and I get rate limited instantly. BY HAND. Years ago I could remove 100 post no problem. Months ago I could remove like 20-30 no problem. Now it's just a few and I get slapped with rate limit.

But make sure you buy Nitro, and you buy server boost and you support Discord guys!!11

(God, I hate Discord.)

I'm having no issues using it? Deleting messages manually works, and so does Undiscord although slowly.

@nicoleuleet
Copy link

Use this script: https://pastebin.com/DADU27Bq

Use Tampermonkey and create a new script with the code in the Pastebin.

If you want to fix it yourself remove these lines from your script:

      else {
        log.verb('Ended because API returned an empty page.');
        if (this.state.grandTotal - this.state.offset > 0) log.warn('[End condition A].', this.state); // I don't remember why this was here. (looks like messagesToDelete==0 && skippedMessages==0 is enough
        else log.warn('[End condition B] if you see this please report.', this.state);
        if (isJob) break; // break without stopping if this is part of a job
        this.state.running = false;
      }

@RayKoopa
Copy link

The default search delay of 30 seconds seems too short to get a (complete) new page of messages at the moment - in fact, it often just returns an empty page, ending the script (use nico's modification to prevent that). If you increase the search delay just a bit more, to like ~35 seconds, you currently seem to get a complete new page of 25 messages.

@xafemode
Copy link

xafemode commented Apr 5, 2024

Use this script: https://pastebin.com/DADU27Bq

Use Tampermonkey and create a new script with the code in the Pastebin.

If you want to fix it yourself remove these lines from your script:

      else {
        log.verb('Ended because API returned an empty page.');
        if (this.state.grandTotal - this.state.offset > 0) log.warn('[End condition A].', this.state); // I don't remember why this was here. (looks like messagesToDelete==0 && skippedMessages==0 is enough
        else log.warn('[End condition B] if you see this please report.', this.state);
        if (isJob) break; // break without stopping if this is part of a job
        this.state.running = false;
      }

This one right here fellas.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests