Coder Social home page Coder Social logo

Comments (11)

cedws avatar cedws commented on June 26, 2024 5

If you get the new version of the script now, you can use -w/--whitelist and specify the ID you've found here. That'll ensure only messages are deleted from that channel. Your command will look something like:
./discord-delete.py full -p [PATH] -w 276837249075773460

from discord-delete.

cedws avatar cedws commented on June 26, 2024 1

There's no functionality to do this in the tool, since it would require finding various IDs which wouldn't be user friendly. There is a way you could do this though. If you follow the instructions for a full deletion, but delete the files (from the data archive) which contain messages from other channels, it will delete only the ones you leave behind.
I'm planning to build a browser extension to delete messages, and it will probably include the ability to delete messages from particular channels.

from discord-delete.

ylluminarious avatar ylluminarious commented on June 26, 2024 1

@cedws Does this whitelist feature still work in the new Go implementation? I tried to use it, but it says: Error: unknown flag: --whitelist

from discord-delete.

Errora403 avatar Errora403 commented on June 26, 2024

Can I find the specific channel folder, ZIP it and refer to it when executing that command?

from discord-delete.

cedws avatar cedws commented on June 26, 2024

Sorry, yes, I forgot that it will automatically extract the ZIP. As long as you retain the same structure of files when you ZIP it back up, it will delete from the channels left behind as you want it to.

from discord-delete.

Errora403 avatar Errora403 commented on June 26, 2024

Just to clarify, can I move a specific channel folder to a different location, and ZIP only that one folder? Will that work to delete messages from only that channel?

bilde

bilde

from discord-delete.

cedws avatar cedws commented on June 26, 2024

You can do that, but you need to retain the original structure of the ZIP file. So you'll need to have a messages directory inside, and then that should contain a numbered folder containing channel.json and messages.csv.

from discord-delete.

cedws avatar cedws commented on June 26, 2024

Yeah, this is stupid, sorry. I'm going to add basic whitelist/blacklist parameters for this use case.

from discord-delete.

Errora403 avatar Errora403 commented on June 26, 2024

Wow. This is awesome. Thank you.

from discord-delete.

cedws avatar cedws commented on June 26, 2024

@cedws Does this whitelist feature still work in the new Go implementation? I tried to use it, but it says: Error: unknown flag: --whitelist

Hey. Sorry, the Go version doesn't have this feature. You can still get the Python version from Releases or the PythonImpl branch, not sure if it still works.

from discord-delete.

ylluminarious avatar ylluminarious commented on June 26, 2024

@cedws Okay, thanks for letting me know. I ended up using this tool instead: https://github.com/victornpb/deleteDiscordMessages

It would still be nice to have a CLI version, though. So I hope you'll consider re-adding this feature to the Go implementation 🙂

from discord-delete.

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.