cedws / discord-delete

Tool to delete Discord message history
GNU General Public License v3.0
125 stars 18 forks source link

Add feature to delete from all DMs using data request files #44

Open Evangelions opened 2 years ago

Evangelions commented 2 years ago

Hello! I recently developed this tool, it is for opening all your discord DMs from your discord data folder. Our projects both together can be used for much easier message deletion automation as I have mentioned here

I would like you to mention my tool to your Github repo as this will help both the project and I have personally tried this method and it worked like a charm.

cedws commented 2 years ago

Looks nice. The old Python implementation of this tool had a "full" delete mode which used data ZIPs to delete from all channels but I haven't reimplemented it yet. It's worth mentioning that the current "partial" mode does reopen DMs with friends and blocked users.

So I would like to do this but no promises on when it will happen.

Evangelions commented 2 years ago

Oh well, I wasn't actually emphasizing on the feature of your tool but rather asking you to mention my tool in your repo like I did here until you add this feature in your repo.

Apologies for wording it wrong earlier.

cedws commented 2 years ago

Oh sure. Send a PR and I will have a look.

Evangelions commented 2 years ago

Done

cedws commented 2 years ago

Reopening since the feature is still desirable to have.

eiqnepm commented 1 year ago

Looks nice. The old Python implementation of this tool had a "full" delete mode which used data ZIPs to delete from all channels but I haven't reimplemented it yet. It's worth mentioning that the current "partial" mode does reopen DMs with friends and blocked users.

So I would like to do this but no promises on when it will happen.

Does the Discord data packet include messages you've sent in server channels you no longer have access to, and if so does the API allow you to delete those messages using the ID in the data packet even if you don't have access to the channel they're under?

cedws commented 1 year ago

Does the Discord data packet include messages you've sent in server channels you no longer have access to

Yes.

does the API allow you to delete those messages using the ID in the data packet even if you don't have access to the channel they're under?

No.

eiqnepm commented 1 year ago

does the API allow you to delete those messages using the ID in the data packet even if you don't have access to the channel they're under?

No.

That sucks 😢

Evangelions commented 1 year ago

does the API allow you to delete those messages using the ID in the data packet even if you don't have access to the channel they're under?

No.

That sucks cry

iirc, you can still get the server invite link using the server ID(provided that the server has widgets enabled)

cedws commented 1 year ago

Interesting, can you show how?

Evangelions commented 1 year ago

Interesting, can you show how?

https://discord.com/developers/docs/resources/guild#get-guild-widget

This will return a Guild widget object