Giter Site home page Giter Site logo

Comments (5)

mhannigan avatar mhannigan commented on May 18, 2024 1

I have run into a similar problem where not all messages are deleted. In my case, it often does this with many messages. For example, out of 9,000+ messages, it deletes 100. I keep running it on the same DM and it says that a blank page was returned.

What makes it work somewhat: If I put something in the search field like "a", it will now delete more of the messages. Still not all, but in this particular case, another 2,000.

OS: Win10
Browser: Chrome

from undiscord.

TheDuchy avatar TheDuchy commented on May 18, 2024 1

Somewhat fixed by replacing the order in which messages are sorted in the search.

replace "desc" on https://github.com/victornpb/deleteDiscordMessages/blob/master/deleteDiscordMessages.js#L204 with "asc"

from undiscord.

victornpb avatar victornpb commented on May 18, 2024

The script relies into the discord search, and as fair as I can tell in some cases the search pagination gets out of sync. I couldn't figure out exactly when it happens as I don't have that much stuff to delete, unless I generate something in order to test.

A useful piece of information would be if you just use the app search for from:me and see if it really returns "no results" or if maybe I'm doing something wrong.

from undiscord.

kaelosthereckoning avatar kaelosthereckoning commented on May 18, 2024

I was able to replicate this error with plenty of results still returned by Discord's search feature. Made sure one of my messages was in the active window in case it was an issue pulling chat which was not being directly shown at run time, but Undiscord still found no messages to delete. Circumvented it by repeating the process with the letter 'a' in Undiscord's search feature and it successfully found and deleted hundreds of messages. Working my way through the alphabet, which may be a temporary solution for others / help isolate the issue.

from undiscord.

amitistyping avatar amitistyping commented on May 18, 2024

Somewhat fixed by replacing the order in which messages are sorted in the search.

replace "desc" on https://github.com/victornpb/deleteDiscordMessages/blob/master/deleteDiscordMessages.js#L204 with "asc"

This worked for me temporarily.

from undiscord.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.