A new ability to create a report from upvoted posts - Universal Bot Dev log - # 10
Authored by
@Assassyn
Hello all users,
I am trying to improve my bot and this devlog every time I post it. From now on, I will post a dev log update every time I publish the release to GitHub. I am trying to keep one change per branch policy.
Current latest release: 0.12.1
What's new
I have added the ability to create a daily report listing voted posts. This feature has been added for the dCropsboost bot. To achieve that there are three new actions.
- read comments - which allows you to read the last 25(by default) comments
- converter replies(comments) into a parent post
- write a post based on the template
The sample configuration looks like that:
{
"name": "read_comments",
"parameters": {
"label": "posts"
}
},
{
"name": "get_commented_post",
"parameters": {
"label": "posts",
"parentPostLabel": "parent_posts"
}
},
{
"name": "load_template",
"parameters": {
"templateId": "Assassyn/fsdfdasffdfdsfadfa",
"label": "summary_post"
}
},
{
"name": "write_post",
"parameters": {
"template": "summary_post",
"title": "dCropsboost daily upvoted posts collection {{@FormatDate(@GetDate(), \"yyyy-MM-dd\")}}",
"tags": "dcrops,dcropboost,universal-bot"
}
},
{
"name": "Flush"
}
Usesful links
GitHub Page
https://github.com/Assassyn/universal-hive-bot/
Release
https://github.com/Assassyn/universal-hive-bot/releases/tag/release-0.12.1
Support me by voting for my witnesses
HIVE - https://vote.hive.uno/@assassyn
HiveEngine - https://votify.vercel.app/alamut-he
0
0
0.000
Oh good job, keep improving as change is the only constant thing.
Oh this is really a great work