weed.dispenser avatar

WEED Cash Comment Bot Announcement

weed.dispenser

Published: 28 Nov 2022 › Updated: 28 Nov 2022WEED Cash Comment Bot Announcement

WEED Cash Comment Bot Announcement

IMG_0684.gif

WEED CASH BOT FOR HIVE

my_name = @loonatic
Got the Python connection 😎

code by @felixxx

gif's made by @bubblegif

As you may have noticed, we built a comment bot for Hive and it has been operational for some weeks now. We are still working out some kinks and additional features.

🥦 how it works 🥦

  • bot scans all hive transactions, constantly
  • if the bot-command (!WEED) is in the body of a comment, the bot checks:
    • if the user has successfuly used the bot in the last 24h
    • ìf the user has enough WEED CASH tokens staked (420)
    • if the user isn't op
    • if all above criteria are matched:
      • the bot votes the op
      • the bot transfers WEED to op
      • the bot stores the operation in its persistent DB

The original reply gets edited until it reaches 4 users, to avoid spam.

Further development

Right now I (felixxx@felixxx) am rebuilding the block-stream, to make it more robust. Hive nodes are unreliable and hive-engine nodes even more so.

Obviously, the bot can not trigger on every command; this could be easily abused and cause spam.
There are many ways to solve this issue, and if you can put it into plain English, I can probably code it that way.

As this is being used by a community, I'd like to ask the community how to go about some questions, but please keep in mind, that we want a non-intrusive bot and not annoy people. Please also consider how there will always be people trying to abuse a service like this and that we have to make sure this is not worth the effort:

Should the bot trigger only on main posts?

...or should the bot also trigger on replies? (as it does now)
If so: how deep?
Should replies be treated differently than main posts?

Should the bot only be useable every 24h?

It could work on a precharge basis, where users can charge the bot with WEED.
It could also be any number of hours.
Or a mix of both?

Are there any other features you would like to see?

I can give the bot a discord functionality, so it can do jobs on Discord, too.
Registration, charging, triggering... again:

if you can put it into plain English, I can probably code it that way.

If I like the feature and it is easy to build, I can add it to the bot.
If it gets complicated or is something I don't enjoy building, you can always pay me 💵.

Final notes

I (felixxx@felixxx) am building this in my spare time and for free.

If you want access to the code or if you want a custom built bot for your community, contact me here or better on Discord.

Leave WEED Cash Comment Bot Announcement to:

Written by

Read more #weedcash posts


Best Posts From weed.dispenser

We have not curated any of weed.dispenser's posts yet. But you can encourage our curation team to review posts by visiting them regularly and by referring other readers. Because we give priority to frequently read content.

More Posts From weed.dispenser