andrewbanchich / shreddit

Delete your Reddit data.
MIT License
235 stars 10 forks source link

Minor feature request: Custom comment message instead of random text #57

Closed leighstillard closed 1 year ago

leighstillard commented 1 year ago

Hi there,

Given the current situation at Reddit I want to delete my comment history. However instead of just random text, I'd like to put a protest message in instructing others how to use this application.

I'm a complete novice with Rust but if you point me to the right function I'm happy to figure it out and send a PR.

Thanks!

andrewbanchich commented 1 year ago

Hi! I like that idea a lot.

A PR would be great! Otherwise, if you want to start with just getting this working for you, you can clone the repo and replace the lorem Ipsum text here with your message.

To make this a configuration parameter, you'd modify the Config struct here to include a new field for the custom message.

You'll also want to be sure you've configured it to only edit but not delete.

Feel free to ask any questions here if you would like help or feedback on anything.

RFBomb commented 1 year ago

I believe the PR I provided should work. I'm not at all familiar with rust, nor do I have a debugger installed for it, so I can't compile it at the moment. See the PR.

andrewbanchich commented 1 year ago

Added in 0.8.1. Thanks @RFBomb !