Introducing hug.bot

in #hive-1395312 years ago

avatar8.png

divider_hannes_sloth.png

Today I want to introduce you to @hug.bot. It is currently running the (almost) exact code as @sloth.buzz bot, which we put live a few days ago.

The @hug.bot listens to the !HUG command in your comments and delivers a hug token to the person you reply to.


coin_crop_256.png
HUG Token

Everyone has one free !HUG per day regardless of how many tokens they have. Because the hug.bot philosophy is:

Everybody deserves a hug!

After that the current levels are:

  • One extra hug if you have at least one token in your wallet (so two in total)
  • One extra hug if you have at least ten tokens in your wallet (so three in total)

A big thank you at this point to @acidtiger. They went on an AI graphics adventure to create the avatar and token icon.

divider_hannes_sloth.png

Working on the @sloth.buzz bot was a great opportunity to get back into coding. We tested that code by connecting it to one of my Splinterlands alt accounts and having it send out NFTM tokens, some basically worthless dust token.

Of course the test base was not big and we needed help from the community to engage with the bot which they did (thank you all for that) to bring the project along.

But further research and development needs another base. That is where @hug.bot comes in.

divider_hannes_sloth.png

raspberry_pi.jpg

I utilized an old Raspberry Pi I had still in a drawer and put it to live again. Now the bot code is living in there for the moment.

This gives me the chance to introduce new features and have them tested in the wild without compromising the #slothbuzz token.

When a new code version is considered stable we can then introduce that to the @sloth.buzz bot and set it live there as well.

In the meantime hive has one more gesture token for you to hand out to those who you think need or deserve a hug.

divider_hannes_sloth.png

I want to thank @slothlydoesit and the #slothbuzz community for giving me and my code experiments a home in the community.

For my efforts in integrating Discord functionality they provided me with a test channel in the slothbuzz discord as well as suggestions for improvement and of course test cases.

divider_hannes_sloth.png

Within the next few weeks I hope to introduce some more error and exception handlers to the code. Once I reach that point I will put up the code to github for the public, as I promised here.

After that the code will be enhanced to include more and more features, such as:

  • Configuring more versatile call levels
  • Listening to different versions of the command
  • Allowing or disallowing other commands in the same comment
  • Combinations of stake and liquid prerequisites
  • Delivering different (additional) tokens
  • Providing statistical data
  • Additional Discord connectivity (querying the bot in Discord)
  • and so on.

I am looking forward to the experience and will keep you updated on my progress.

divider_hannes_sloth.png

Once the code is up on github it will be free to use by anyone who wants it.

If you want to support my efforts, the biggest help would currently be providing an RC delegation to @hug.bot so it can work the blockchain to hand out its hugs. Delegating RC does not diminish your Hive Power (i.e. voting weight or curation rewards).

To do so, simply navigate to your peakd wallet, click the downward arrow next to "DELEGATE" and click "Delegate RC":

image.png

Every little bit will be helpful and is much appreciated. If you do so and tell me in the comments, I will !HUG you dearly for it. 😉

Thank you very much.

divider_hannes_sloth.png

Well, that is it for today, thank you very much for reading and please, spread those hugs.

Sort:  

Hey @hannes-stoffel, here is a little bit of BEER from @detlev for you. Enjoy it!

Learn how to earn FREE BEER each day by staking your BEER.

This sounds like a super fun project. I !LUV the idea and would like to support the hugging. I will donate some RC for the hugging of Hivers.
!PIZZA

Thank you for the RC delegation. 😊
!HUG

Dear @an-man, you just got hugged.
I sent 1.0 HUG on behalf of @hannes-stoffel.
(1/3)

;-)

!LUV

@hug.bot, @an-man(8/10) sent you LUV. | tools | discord | community | HiveWiki | NFT | <>< daily

Made with by crrdlx

Thanks for the Hug and the project. Like !LUV the Hug command will be a nice way to say thanks.

@hannes-stoffel, @an-man(4/10) sent you LUV. | tools | discord | community | HiveWiki | NFT | <>< daily

Made with by crrdlx

Greetings from An Man Bot! The Bot that loves An Man

An-Man, you're so funny, you should be illegal!

Welcome back....where have you been?

@hannes-stoffel, @an-man(1/10) sent you LUV. | tools | discord | community | HiveWiki | NFT | <>< daily

Made with by crrdlx

Wow. Its a huge work to be done. Everyone deserves hug. Let me delegate some RC to encourage the mission.

Thank you very much. And thank you for the RC delegation.
!HUG

You are welcome

Dear @sammyhive, you just got hugged.
I sent 1.0 HUG on behalf of @hannes-stoffel.
(1/3)

Thanks

Yooo this calls for a !BEER

Thanks for you cool job

Thank you.
Have a !PIZZA with that tasty beverage 😊

!LUV
!SLOTH
!MEME

Thank you. 😊
What a !Luv ly gesture.

@sportsbuddy, @hannes-stoffel(1/10) sent you LUV. | tools | discord | community | HiveWiki | NFT | <>< daily

Made with by crrdlx

@sportsbuddy, sorry! You need more $SLOTHBUZZ staked to use this command.

The minimum requirement is 1.0 SLOTHBUZZ staked.

More $SLOTHBUZZ is available from Hive-Engine or Tribaldex

Since everyone deserves a hug, so do you, so !HUG

Dear @hannes-stoffel, you just got hugged.
I sent 1.0 HUG on behalf of @greensandpinks.
(1/1)

Thank you very much. 🤗
!HUG

Dear @greensandpinks, you just got hugged.
I sent 1.0 HUG on behalf of @hannes-stoffel.
(1/3)

Great initiative.
!PIZZA
!PIMP
!SLOTH
!HUG

Dear @hannes-stoffel, you just got hugged.
I sent 1.0 HUG on behalf of @anandkj611.
(1/1)

Thanks. And thank you for delegating RC.
!HUG

Dear @anandkj611, you just got hugged.
I sent 1.0 HUG on behalf of @hannes-stoffel.
(1/3)

@hannes-stoffel! Your post is buzzing, you were tipped 0.01 SLOTHBUZZ on behalf of @anandkj611.

Learn more about the SLOTHBUZZ Token at Sloth.Buzz and consider sharing your post there or using the #slothbuzz next time

(1/5)


You must be killin' it out here!
@anandkj611 just slapped you with 1.000 PIMP, @hannes-stoffel.
You earned 1.000 PIMP for the strong hand.
They're getting a workout and slapped 1/2 possible people today.

pimp_logo


Read about some PIMP Shit or Look for the PIMP District

Yes, everyone deserves a hug 🤗
Great job
I tried to play my little part in delegating RC

Thank you.
And thank you for the RC delegation.
!HUG

Dear @ksam, you just got hugged.
I sent 1.0 HUG on behalf of @hannes-stoffel.
(1/3)

Like this new concept! Have delegated some RC and hopefully it helps!
!SLOTH

@hannes-stoffel! Your post is buzzing, you were tipped 0.01 SLOTHBUZZ on behalf of @relf87.

Learn more about the SLOTHBUZZ Token at Sloth.Buzz and consider sharing your post there or using the #slothbuzz next time

(1/1)

Thanks. And thank you very much for the RC delegation.
!HUG

Dear @relf87, you just got hugged.
I sent 1.0 HUG on behalf of @hannes-stoffel.
(1/3)

You are welcome!

Awesome! Share the hugs with all

!PGM
!HUG

Thank you. 😊
!Hug

Dear @invest4free, you just got hugged.
I sent 1.0 HUG on behalf of @hannes-stoffel.
(1/3)

Dear @hannes-stoffel, you just got hugged.
I sent 1.0 HUG on behalf of @invest4free.
(1/1)

Sent 0.1 PGM - 0.1 LVL- 1 STARBITS - 0.05 DEC - 1 SBT - 0.1 THG - 0.000001 SQM - 0.1 BUDS tokens to @invest4free

remaining commands 0

BUY AND STAKE THE PGM TO SEND A LOT OF TOKENS!

The tokens that the command sends are: 0.1 PGM-0.1 LVL-0.1 THGAMING-0.05 DEC-15 SBT-1 STARBITS-[0.00000001 BTC (SWAP.BTC) only if you have 2500 PGM in stake or more ]

5000 PGM IN STAKE = 2x rewards!

image.png
Discord image.png

Support the curation account @ pgm-curator with a delegation 10 HP - 50 HP - 100 HP - 500 HP - 1000 HP

Get potential votes from @ pgm-curator by paying in PGM, here is a guide

I'm a bot, if you want a hand ask @ zottone444


Awesome content! Very wholesome!

'Everyone deserves a HUG'! Love it! We know a sloth that's been needing one of those the last couple of days, this comes at the perfect time!

!SLOTH !HUG !ALIVE !PIMP !PIZZA

@hannes-stoffel! Your post is buzzing, you were tipped 0.01 SLOTHBUZZ on behalf of @slothbuzz.

Learn more about the SLOTHBUZZ Token at Sloth.Buzz and consider sharing your post there or using the #slothbuzz next time

(1/5)

Dear @hannes-stoffel, you just got hugged.
I sent 1.0 HUG on behalf of @slothbuzz.
(1/1)


You must be killin' it out here!
@slothbuzz just slapped you with 1.000 PIMP, @hannes-stoffel.
You earned 1.000 PIMP for the strong hand.
They're getting a workout and slapped 1/1 possible people today.

pimp_logo


Read about some PIMP Shit or Look for the PIMP District

@hannes-stoffel! You Are Alive so I just staked 0.1 $ALIVE to your account on behalf of @slothbuzz. (1/10)

The tip has been paid for by the We Are Alive Tribe through the earnings on @alive.chat, feel free to swing by our daily chat any time you want.

Thank you.
Sometimes stuff just comes together when the need for it arises. 😊

https://leofinance.io/threads/@slothlydoesit/re-leothreads-2anleuk7w
The rewards earned on this comment will go directly to the people ( slothlydoesit ) sharing the post on LeoThreads,LikeTu,dBuzz.

Have another !HUG to brighten up your day and the hard work/great initiative to share with the community, deserves many of them!

Dear @hannes-stoffel, you just got hugged.
I sent 1.0 HUG on behalf of @thegoliath.
(1/1)

Thank you. 😊
Have a !HUG too

Dear @thegoliath, you just got hugged.
I sent 1.0 HUG on behalf of @hannes-stoffel.
(1/3)

Oh new token? Would it work even if i have 0 HUG for now?

Great work Hannes.
Can you post something about how you configured your Raspberry Pi to let them work with the bot?
A !HUG for you as well :)

Thanks.
!HUG
Works out of the box with Raspberry Pi OS you just have to add beem and hiveengine packages to python:

sudo pip install beem
sudo pip install hiveengine

Dear @herman-german, you just got hugged.
I sent 1.0 HUG on behalf of @hannes-stoffel.
(1/3)

Dear @hannes-stoffel, you just got hugged.
I sent 1.0 HUG on behalf of @herman-german.
(1/1)

PIZZA! PIZZA! PIZZA! PIZZA!

PIZZA Holders sent $PIZZA tips in this post's comments:
an-man tipped hannes-stoffel (x1)
slothbuzz tipped hannes-stoffel (x1)
anandkj611 tipped hannes-stoffel (x1)
@hannes-stoffel(1/5) tipped @detlev (x1)

Learn more at https://hive.pizza.



The rewards earned on this comment will go directly to the people( @hannes-stoffel, @slothlydoesit ) sharing the post on Twitter as long as they are registered with @poshtoken. Sign up at https://hiveposh.com.

Great work on your bot! !HUG

Since you are close to having 3 !HUG tokens (or already have that amount), you will be able to start tipping HUG twice a day. 🤗😏

Dear @mypathtofire, you just got hugged.
I sent 1.0 HUG on behalf of @savvytester.
(2/2)

Yes, that is good that i have 2! !LOL !HUG

Dear @savvytester, you just got hugged.
I sent 1.0 HUG on behalf of @mypathtofire.
(1/2)

What is Victorias Secret?
High prices.

Credit: reddit
@savvytester, I sent you an $LOLZ on behalf of @mypathtofire

(1/10)
Have you tried the !gif !lolz !meme combo? It is a wall of fun!

You now have 3 HUG tokens, which will allow you to tip the token twice a day. 🤗 You need 7 more HUGs to tip the token thrice a day. 😏 !LUV

@mypathtofire, @savvytester(6/10) sent you LUV. | tools | discord | community | HiveWiki | NFT | <>< daily

Made with by crrdlx

Dear @hannes-stoffel, you just got hugged.
I sent 1.0 HUG on behalf of @mypathtofire.
(1/1)

is there any utility for holding planned or should we just dump our HUG token?

nothing planned except for the extra call to the bot.

!HUG

Dear @hannes-stoffel, you just got hugged.
I sent 1.0 HUG on behalf of @marilour.
(1/3)

!HUG

Dear @hannes-stoffel, you just got hugged.
I sent 1.0 HUG on behalf of @almajandra.
(1/3)