Welcome bot for users posting for the first time in specific tag
Hi,
I created a welcome bot, which sends comment for a person who wrote a post for the first time in #polish. I did it especially for #polish community, but it can be configured to any tag.
I wrote this bot in Java using SteemJ library. Bot can also vote on commented first post and in the future (if library steemJ will fix reblog method) bot will be able to resteem post.
Now, I'm going to show you how to run this bot:
First step is download jar file here github
If we have jar file, we put it in separated folder and use this command in command line:
java -jar PolishJavaSteemBot.jar
First run should generate "bot.properties" and proccess should be stopped
commentTags=tags,comment,after,colon
watchedTag=TagToObserw
message=YourMessage
botName=BotName
postingKey=OurBotsPrivatePostingKey
frequenceCheckInMilliseconds=1000
debug=true
votingEnabled=true
votingPower=100
howDeepToCheckIfFirstPost=100
reblogEnabled=true
Here I will explain what does every property in "bot.properties" means:
- commentTags - bot's comment tags
- watchedTag - tag to observe
- message - message in post which will occur on new user post
- botName - name of our bot
- postingKey - private posting key from our bot
- frequenceCheckInMilliseconds - how often look for new posts (1000 = 1 second, 500 = 0.5 second)
- debug - (true albo false) do we like to receive debug infos in console
- votingEnabled (true albo false) should bot vote or not
- votingPower - (od 0 do 100) % of vote power
- howDeepToCheckIfFirstPost - number which say how deep our bot should look for informations
- reblogEnabled - should he resteem new post (this functionality doesn't work yet ?? because of library ??)
After "resteem" feature, I would like to implement scheduled posts with stats on bot account.
Posted on Utopian.io - Rewarding Open Source Contributors
Thank you for the contribution. It has been approved.
You can contact us on Discord.
[utopian-moderator]
Hey @codingdefined, I just gave you a tip for your hard work on moderation. Upvote this comment to support the utopian moderators and increase your future rewards!
Please add a License File in your Repository
It's done.
Congratulations @grzegorz2047! You have completed some achievement on Steemit and have been rewarded with new badge(s) :
Click on any badge to view your own Board of Honor on SteemitBoard.
For more information about SteemitBoard, click here
If you no longer want to receive notifications, reply to this comment with the word
STOP
Is this @informator bot?
This software is used to run @informator bot.
Hey @grzegorz2047 I am @utopian-io. I have just upvoted you!
Achievements
Community-Driven Witness!
I am the first and only Steem Community-Driven Witness. Participate on Discord. Lets GROW TOGETHER!
Up-vote this comment to grow my power and help Open Source contributions like this one. Want to chat? Join me on Discord https://discord.gg/Pc8HG9x