Random comment picker | A simple use case for the Steem Comment Blacklist API

in #steemdev5 years ago



Source: GIPHY

A few days ago, I wrote a post about The Steem Comment Blacklist API released for testing! Let me reiterate that whilst the list is titled a blacklist, being on it doesn't mean you are necessarily a "bad thing" on this platform. Rather, its primary purpose is to give Steem developers some idea of whether a comment was actually made by a human (and not a comment bot).

A real simple example I thought of is to create a random comment picker bot (yes...this bot is on the blacklist too!). You could use this to award some sort of prize to actual commenters on your post. Another use is for raffle draws and contests. Some people use https://pick.esteem.ws, but it doesn't discriminate comment bots:

image.png
Source: pick.esteem.ws

Of course, you could also use a generic random picker like https://www.random.org/lists, but you would have to manually copy all the data in.

image.png
Source: random.org/lists

These web apps work totally fine but become fiddly on mobile (or if you're just plain lazy!). So to create a simple demonstration using the The Steem Comment Blacklist API, you can simply comment $random-winner in any post to select a random winner. Supplying an optional number will pick 'x' number of winners. Hopefully no winners selected were comment bots 😉

image.png

I hope this is of some use to the community 👍

Yours truly,
@contrabourdon



Sort:  

.

Well there you go! I didn't even realise those benefits! Very true, people may post screenshots of a random picker, but how do we know it's not a rigged result?

coffeea Lucky you @crokkon here is your COFFEEA, view all your tokens at steem-engine.com Vote for c0ff33a as Witness

deranged You just received DERANGED @crokkon Keep up the great work, view all your tokens at steem-engine.com

@tipu curate
@giphy curate 100


A huge hug from @amico! 🤗

#sbi-skip !trdo

Upvoted 👌


Powered by witness untersatz!
Current VP: 68.6%

Sorry, recovering voting power 🐹

Congratulations @amico, you successfuly trended the post shared by @contrabourdon!
@contrabourdon will receive 0.30870113 TRDO & @amico will get 0.20580075 TRDO curation in 3 Days from Post Created Date!

"Call TRDO, Your Comment Worth Something!"

To view or trade TRDO go to steem-engine.com
Join TRDO Discord Channel or Join TRDO Web Site

Thank you for supporting @CatsMakeKittens by being a part of our community @contrabourdon.

Each CATS you purchase gets you daily upvotes from me @CatScientist as our community grows so do your rewards for being a member!

Let's see how many comments we can get on this post and then we'll call on the bot :)

This post has received a 3.13 % upvote from @drotto thanks to: @sbi-booster.

Hmmm, I saw the earlier post about the "blacklist" and had mixed feelings about it - mostly because the name does imply something negative, and I saw one of my favorite bots in the screenshot! However, I do see the value and need for separating auto generated comments from those made my human (I assume 😝 ) hands. Definitely something worth exploring...

And the idea of rewarding a random comment on your posts sounds wicked cool! Thanks for all the neat things you've been contributing to the blockchain, @contrabourdon!

!giphy you're+awesome




giphy is supported by witness untersatz!

Congratulations @contrabourdon, your post successfully recieved 0.30870113 TRDO from below listed TRENDO callers:

@amico earned : 0.20580075 TRDO curation


To view or trade TRDO go to steem-engine.com
Join TRDO Discord Channel or Join TRDO Web Site

Coin Marketplace

STEEM 0.16
TRX 0.15
JST 0.028
BTC 56006.20
ETH 2375.33
USDT 1.00
SBD 2.33