This sloth finally had some time and energy to get back into Python and Hive programming. I am lucky to have @slothlydoesit as a supporter to give me ideas, tasks and a home for the
@hug.bot. So after sifting through all his ideas, I implemented three new main features and some minor fixes. Here is the
Since I am still very new to Python programming I rely on the beem and hiveengine libs by @holger80. Unfortunately he was last active in August 2021. At the moment the basics are still working but the need for further development is definately there. That being said, while dealing with these libs and checking what they actually do helps a lot to start understanding a little bit how HIVE deals with its content.
At the moment the bot votes with a fixed 50% weight but only if the token call was successful. This limits to a max of 3 votes per user per day. I will monitor the mana balance and adjust accordingly. In the future the vote weight might depend on some more variables like available mana but also token amounts in your wallet. Maybe the token gets some value after all...
On top of getting rid of the clutter there is a chance for the bot to later on post additional information like statistics (working on it, 😜) and get some upvote rewards from others. At the moment the potential rewards of the postings are split into HP and HBD 50/50 like the usual posting setting. The HP will stay with the bot account to give the votes more value and in return increase curation rewards. The HBD are collected and will go to my account to maybe get a few cents back for running and coding the bot.
I wonder if people would like a feature to be ignored by the bot in total. So others cannot even call the !hug on their posts. Well, people could still write the command in their comments (yep, you have to take it up with them) but the bot ignoring you would then mean you would not even get the token. Let me know if you would want me to implement that.
The most noticeable change in the foreground is the implementation of emoticons in the posting and comments of the bot. 😃
In the background I add some more error handling. Not really exciting for you all. 😴
As mentioned above, I plan to give the upvoting some more mechanics. The daily posting might get a bit more statistical data. How many calls per day, how many succeeded or failed and so on. I guess that might be interesting for some people.
I would like to implement a delegation reward at some point but there are still too many technical questions in my mind on how to get all the relevant data for distributing the rewards to the delegators. I hope to solve these while working on some other features.
Do you have any ideas? Please let me know. 😉
I want to give a special thank you to @metzli for delegating 1,000b RC to
@hug.bot.
Also thank you to @anandkj611 (30b),
@an-man (40b) and
@slothlydoesit (111b) for delegating.
All the author rewards of this post are set to go to the delegators accordingly.
Yes, I am a sloth. I did not do the math for that one with correct proportions