Welcome bot for users posting for the first time in specific tag

in #utopian-io7 years ago (edited)

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

Sort:  

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

Congratulations @grzegorz2047! You have completed some achievement on Steemit and have been rewarded with new badge(s) :

Award for the number of posts published
You published a post every day of the week

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

By upvoting this notification, you can help all Steemit users. Learn how here!

This software is used to run @informator bot.

Hey @grzegorz2047 I am @utopian-io. I have just upvoted you!

Achievements

  • You have less than 500 followers. Just gave you a gift to help you succeed!
  • This is your first accepted contribution here in Utopian. Welcome!

Community-Driven Witness!

I am the first and only Steem Community-Driven Witness. Participate on Discord. Lets GROW TOGETHER!

mooncryption-utopian-witness-gif

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

Coin Marketplace

STEEM 0.16
TRX 0.15
JST 0.029
BTC 55255.10
ETH 2314.82
USDT 1.00
SBD 2.33