|
|
@ -123,15 +123,16 @@ for thing in things:
|
|
|
|
thing.id in whitelist_ids:
|
|
|
|
thing.id in whitelist_ids:
|
|
|
|
continue
|
|
|
|
continue
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if whitelist_distinguished and thing.distinguished:
|
|
|
|
|
|
|
|
continue
|
|
|
|
|
|
|
|
if whitelist_gilded and thing.gilded:
|
|
|
|
|
|
|
|
continue
|
|
|
|
|
|
|
|
|
|
|
|
if trial_run: # Don't do anything, trial mode!
|
|
|
|
if trial_run: # Don't do anything, trial mode!
|
|
|
|
if verbose:
|
|
|
|
if verbose:
|
|
|
|
print("Would have deleted {thing}: '{content}'".format(
|
|
|
|
print("Would have deleted {thing}: '{content}'".format(
|
|
|
|
thing=thing.id, content=thing))
|
|
|
|
thing=thing.id, content=thing))
|
|
|
|
continue
|
|
|
|
continue
|
|
|
|
if whitelist_distinguished and thing.distinguished:
|
|
|
|
|
|
|
|
continue
|
|
|
|
|
|
|
|
if whitelist_gilded and thing.gilded:
|
|
|
|
|
|
|
|
continue
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if clear_vote:
|
|
|
|
if clear_vote:
|
|
|
|
thing.clear_vote()
|
|
|
|
thing.clear_vote()
|
|
|
|