victornpb / undiscord

Undiscord - Delete all messages in a Discord server / channel or DM (Easy and fast) Bulk delete
https://victornpb.github.io/undiscord
MIT License
5.24k stars 716 forks source link

Only deletes 1 or 2 #499

Open githubUser01946 opened 1 year ago

githubUser01946 commented 1 year ago

Undiscord Version

v5.2.1

Browser

Edge Version 112.0.1722.58 (Official build) (64-bit)

Extension

TamperMonkey

Reproduction steps

I filled in the user ID and then clicked on current for server and channel then ran it.

Even though there is over 100 results it will comeback with text but not do anything. I have copy and pasted and removed important details.

Actual results

Started at 24/04/2023, 16:45:55 authorId = "REMOVED" guildId = "REMOVED" channelId = "REMOVED" minId = "" maxId = "" hasLink = false hasFile = false Fetching messages... Grand total: 1 (Messages in current page: 0 To be deleted: 0 Skipped: 0) offset: 0 Delete delay: 1000ms, Search delay: 30000ms Last Ping: 355ms, Average Ping: 355ms Rate Limited: 0 times. Total time throttled: 0h 0m 0s. Estimated time remaining: 0h 0m 1s Ended because API returned an empty page. [End state] {"running":true,"delCount":0,"failCount":0,"grandTotal":1,"offset":0,"iterations":1,"_seachResponse":{"analytics_id":"9e82493e3be4423eec88913566f286b7","doing_deep_historical_index":false,"total_results":1,"messages":[]},"_messagesToDelete":[],"_skippedMessages":[]} Waiting 30.00s before next page... Ended at 24/04/2023, 16:46:35! Total time: 0h 0m 39s Delete delay: 1000ms, Search delay: 30000ms Last Ping: 355ms, Average Ping: 355ms Rate Limited: 0 times. Total time throttled: 0h 0m 0s. Deleted 0 messages, 0 failed.

Expected results

I expect that it would go through the userid and remove their comments.

Bug affects

Additional information & file uploads

I do not need to add any screenshots.

glassglue commented 1 year ago

See #471

githubUser01946 commented 1 year ago

Ok will try the numbers suggested: https://github.com/victornpb/undiscord/issues/471#issuecomment-1519168853

ttuleyb commented 1 year ago

See https://github.com/victornpb/undiscord/issues/471 for fix