x89 / Shreddit

Remove your comment history on Reddit as deleting an account does not do so.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to replace without delete

DavidCWGA opened this issue · comments

The readme says this:

"In fact you can actually turn off deletion all together and just have lorem ipsum"

but it doesn't explain how, and I can't find anything in shreddit.yml about replacing without deleting.

How do you do that?

commented

Hi DavidCWGA,

In the file shreddit.yml.example, on line 68, you can enter your own custom string here.

It seems there used to be an "edit only" option in the yml but it was removed for some reason.

I would also like to know how to only edit and not delete.

You could try commenting out all three instances of self._remove(item), but I haven't tested that.

self._remove(item)
elif created <= self._nuke_cutoff:
self._logger.debug("Item occurs prior to nuke cutoff")
count_removed += 1
self._remove(item)
elif self._check_whitelist(item):
self._logger.debug("Skipping due to: whitelisted")
continue
elif created > self._recent_cutoff:
self._logger.debug("Skipping due to: too recent")
continue
else:
count_removed += 1
self._remove(item)

That, or you could add back in the references for edit_only from an older commit.

if self._edit_only: