As you may already know, I work on this stuff at my leisure.
Now, things may move like a slow moving glacier but the thing about that.
So, yes my work on the Hive Downvote Rewards project continues as such...
Piece by Piece until all are complete.
def get_report_contract_body(op,cat_string):
""" assemble body for moderation report contract reply"""
reporter = op['author']
parentlink = '@'+op['parent_author']+'/'+op['parent_permlink']
link = get_hive_engine_hc_hot_link(reporter, 'HDR','1',parentlink)
body = 'Thank you for submitting a Hive Downvote Rewards Moderation Report! \n\n' \
'Please, use the following Hive~~Connect~~Signer link to finalize report contract. \n\n' \
'Thank you for reporting this abuse, @{}.\n{}\n\n' \
'Check us out on the following link!\n[HDR Discord]({})\n\n' \
'[Hivesigner Link]({})'.format(
reporter, cat_string, cfg.DISCORD_INVITE,link)
return body
def reply_moderation_report(op,body): #op is the reporter's comment.
rep = hive.post('', body,
reply_identifier=op['author']+'/'+op['permlink'],
community='HDR', parse_body=True,
author='hive-dr')
return construct_authorperm(rep['operations'][0][1])
I still have a way to go but but I am setting aside brain power when I can to continue this endeavor.
Thanks for the votes that provide the motivational energy to press forward.