undiscord icon indicating copy to clipboard operation
undiscord copied to clipboard

Not deleting bug after 25 messages

Open sorryzzss opened this issue 2 years ago • 19 comments

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

  • [X] DMs
  • [X] DMs (group)
  • [X] Channels
  • [X] Channel (NSFW)

Additional information & file uploads

image

sorryzzss avatar Aug 02 '23 21:08 sorryzzss

I'm having the same exact issue. Following.

fennelbaby avatar Aug 04 '23 09:08 fennelbaby

Same issue @victornpb would appreciate you taking a look

Username124623 avatar Aug 04 '23 11:08 Username124623

Same issue, doesnt seem to be a fix rn.

Manuru1 avatar Aug 05 '23 06:08 Manuru1

same issue, still needs a fix

SilentNewt avatar Aug 06 '23 10:08 SilentNewt

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!

NaryanSambhi avatar Aug 09 '23 17:08 NaryanSambhi

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.

Manuru1 avatar Aug 10 '23 11:08 Manuru1

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

RaceIsIm avatar Aug 10 '23 14:08 RaceIsIm

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

x86id93 avatar Aug 13 '23 22:08 x86id93

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!

RoyalBeefy avatar Aug 17 '23 23:08 RoyalBeefy

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?

sorryzzss avatar Aug 22 '23 23:08 sorryzzss

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.)

Balls0fSteel avatar Sep 06 '23 08:09 Balls0fSteel

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.

eon-pixel avatar Sep 06 '23 12:09 eon-pixel

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;
      }

nicoleuleet avatar Sep 11 '23 00:09 nicoleuleet

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.

RayKoopa avatar Oct 13 '23 09:10 RayKoopa

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.

xafemode avatar Apr 05 '24 17:04 xafemode