Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Suggestion: option to delete only files or links #7

Closed
TooDumbToBeADeveloper opened this issue Sep 8, 2019 · 5 comments
Closed

Suggestion: option to delete only files or links #7

TooDumbToBeADeveloper opened this issue Sep 8, 2019 · 5 comments
Labels

Comments

@TooDumbToBeADeveloper
Copy link

Hello,

First of all - thank you for creating this!

I had a couple suggestions. Don't know if they are possible, but if they are I think they would be useful.

Option to delete just attachments/files/images.
Option to delete just links.
Reason: Users have tens (and sometimes hundreds) of thousands of messages in separate servers & conversations, which takes a lot of time to delete (on top of the occasional errors occur and if user isn't present to restart the process it takes even longer).
Images, files, links (which could be images shared on other websites and posted on discord via link instead of directly, links to social media or accounts on various websites, e-mail addresses) often contain most sensitive personal information. Therefore it would be useful to delete these first instead of going through all of the messages.

When deleting messages it always jumps to top (first messages deleted) and you have to manually scroll down (and hold it) to see the progress/current messages being deleted. Would be convenient if either it didn't jump to top or current messages would be added on top instead of bottom.

@victornpb victornpb added the feature-enhancement New feature or request label Sep 8, 2019
@victornpb
Copy link
Owner

@TooDumbToBeADeveloper I like your suggestion, I will add a filter for has:links/images/etc...

About the scroll It should auto-scroll down as it goes, what browser are you using?

@victornpb
Copy link
Owner

victornpb commented Sep 9, 2019

@TooDumbToBeADeveloper v3.0.0 released!
Thank you for the suggestion!

  • Auto detect authToken!
  • Now you can filter for links or files
  • Added confirmation dialog with preview before start
  • Autoscroll is fixed, you can enable and disable it.
  • Improved ping average calculation
  • Improved logs
  • Added help links to author and channel

@TooDumbToBeADeveloper
Copy link
Author

Hey, sorry for late reply. I'm using Chrome currently. It auto-scrolled down just at the start, but after that it would jump to top (I was deleting 5k+ messages each time).

Great improvements. Thanks!

@TooDumbToBeADeveloper
Copy link
Author

TooDumbToBeADeveloper commented Sep 11, 2019

Not sure if you are notified of comment edits, so I'm writing a new one.

Would it be possible to see the oldest messages being deleted in the prompt? When selecting a large range of messages, at least to me, it would be more useful to see that oldest message that is going to be deleted to make sure I selected correct one, since most of the time I'm well aware of my latest messages.

There seems to be another issue. I have selected a range of messages on a particular server. Prompt said it was ~10k messages. I started the process, but not all my messages are being deleted. I'm only sure about one channel (there might be more channels skipped but can't tell right now). It's a channel mainly dedicated to use bot commands - people use it to play bot games etc. However short discussions happen in that channel as well. EDIT: Another channel messages weren't deleted from is a channel in which users are only allowed to type if they are in a voice channel at the time. Messages deleted fine after selecting channel separately. EDIT: Not sure if it might have anything to do with this, but on this particular server "experience points" can only be accumulated on the main channel for chatting and on the others exp is disabled. Not sure if this is the case, but seems that messages (including files, which I attempted to delete first of all) were deleted only from the main channel, so plausible.

@victornpb
Copy link
Owner

Just to keep things organized, Im closing this issue, since its been solved.

You can open a new one, so I can get back to you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants