SpacingBat3 / WebCord

A Discord and SpaceBar :electron:-based client implemented without Discord API.
MIT License
1.87k stars 94 forks source link

Add undiscord script to mass delete DM #264

Open ntxdtby684 opened 1 year ago

ntxdtby684 commented 1 year ago

Is your feature request related to a problem? Please describe. As many of us know discord does not give us tools to delete DMs in mass

Describe the solution you'd like There is a cool script that was made for discord web https://github.com/victornpb/undiscord This tool is implemented with a trash can icon on the top right of your UI and when clicked it gives you options to choose a personal conversation or server and then gives you option to filter what you want deleted or deletes everything in this specific convo with a specific delay.

This would advance webcord's privacy tools and would be a really nice addition that could bring more people to use it. If it were to be implemented I suggest to have it in the settings and to have a warning that this could lead to your account suspension if you do not know how to use it. Personally I never got a suspension using but I heard it could happen if the delay to the api is too low but this tool adjusts it anyways.

SpacingBat3 commented 1 year ago

I don't really like the idea of adding a script made by someone else to my codebase. Instead, I would prefer to implement my own modding API, but that might not occur too fast given I do not work much on new features and Discord has killed the client modding for some time.

Maybe this issue is actually outdated given the breakages that occurred in Discord?

ghrnhge644 commented 1 year ago

I don't really like the idea of adding a script made by someone else to my codebase. Instead, I would prefer to implement my own modding API, but that might not occur too fast given I do not work much on new features and Discord has killed the client modding for some time.

Maybe this issue is actually outdated given the breakages that occurred in Discord?

I am not familiar with how modding api works but personally I have used the script mentioned above about a week ago and it was working. Not sure if thats what you are referencing but I had no issue running and deleting thousands of messages.

ImproperAnatomist commented 1 year ago

I would like a automated way of slowly deleting messages. So I'll open a issue asking for this but without mentioning any scripts made by another person.

Edit: Is it ok if I open a new issue?

SpacingBat3 commented 1 year ago

I would like a automated way of slowly deleting messages. So I'll open a issue asking for this but without mentioning any scripts made by another person.

Edit: Is it ok if I open a new issue?

I'm still very careful at implementing such features, those come with deep Discord integrations that could break, use outdated API version (i.e. the one no longer used by Discord) or become suspicious to Discord, especially when used on global scale. I don't think this is priority for me, if I'm ever going to implement this – currently, WebCord at most injects the CSS and even that does quite carefully, without touching HTML code and potentially triggering JS events – I don't think Discord does currently monitor/validate HTML, but there's nothing that could potentially stop them from doing so by putting the code for that into the essential JS files so that couldn't be so easily blocked with URL/file blocklist and would require more complex blocking like file patching.