____  ___    _  _     _   _ _____     _______
 / ___|/ _ \  | || |   | | | |_ _\ \   / / ____|
| |  _| | | | | || |_  | |_| || | \ \ / /|  _|
| |_| | |_| | |__   _| |  _  || |  \ V / | |___
 \____|\___/     |_|   |_| |_|___|  \_/  |_____|

 --- A GOPHER-LIKE INTERFACE FOR HIVE BLOCKCHAIN ---

Introducing @checky, a bot looking for wrong mentions in your posts

BY: @ragepeanut | CREATED: July 15, 2018, 3:09 p.m. | VOTES: 83 | PAYOUT: $96.00 | [ VOTE ]

[IMAGE: https://ipfs.busy.org/ipfs/QmNmtCVakcrDMvoLFD3gF6voGy5Hor4LL6A8o23q9mgYQD]
Click here to get redirected to the GitHub repository of this project.

Ever since my arrival on Steem, I have noticed that many authors fail to write other steemians' usernames correctly. I remember being mentioned as @parragepeanut more than once in the past, luckily it was by an author that I follow so it didn't make much difference. However, it becomes an issue when authors mention other users that don't follow them in their posts. Let's take a hypothetical case in which A is the author of a post, R is someone reading that post and M is the user mentioned in that post. If A fails to mention M correctly, M won't have any way of knowing that he got mentioned but also R won't have any way to access M's account through the post. That's where @checky comes in handy ! @checky's only purpose is to check if the steemians mentioned in a post exist and, if not, to indicate to authors that they may have made some typos while mentioning those steemians. It achieves that by analyzing all the new posts posted on the blockchain and by leaving a comment under the posts containing wrong mentions. Here is an example of what you may see under your post if you happen to wrongly mention someone (as you can see it also works with comments if you set the bot to advanced, more on that later).

https://i.gyazo.com/c2ef80bfb414bbb6ff2341a1e0d4e0c3.png

If there is one thing that I've learned from following the activity of @grammarnazi (an amazing bot that is really underappreciated), it's that some users just don't like bots trying to help them. Some steemians even go as far as flagging those kinds of bots. Because of that, I've seen @grammarnazi go all the way down to a reputation of 9 despite trying to help authors with their posts. In order to prevent such a scenario from happening with @checky, I've added some commands to the bot including !mode off which requests @checky to stop analyzing your posts. Let's get more in depth with the commands available in order to change @checky's behavior when encountering your posts. Those commands have to be written as replies to @checky's posts or comments, otherwise they won't work. Since I've mentioned @parragepeanut in this post, it should reply in the comments below so feel free to play around with it !

What's coming next ?

Contributions

If you want to contribute to this project or talk about an issue it has, feel free to visit its GitHub page. You can also clone it and follow the instructions written there to get it running (although not recommended since @checky already runs the script). My social medias are listed at the end of the README file. If you add me on Steam, tell me the reason why on my wall, otherwise I won't accept your friend request.

Technology Stack

@checky is written in JavaScript using Node.js. Steem.js is used in order to stream and interact with the blockchain. @checky also uses fs (which is installed by default with Node.js) to manage files and Lodash to make array manipulations easier.

Proof of Work Done

https://github.com/RagePeanut/

TAGS: [ #utopian-io ] [ #development ] [ #steemdev ] [ #steem ] [ #dev ]

Replies

@checky | July 15, 2018, 3:09 p.m. | Votes: 1 | [ VOTE ]

Hi @ragepeanut, I'm @checky ! While checking the mentions made in this post I found out that @parragepeanut and @mutliple-words don't exist on Steem. Maybe you made some typos ?

If you found this comment useful, consider upvoting it to help keep this bot running. You can see a list of all available commands by replying with !help.
@ragepeanut | July 17, 2018, 7:06 p.m. | Votes: 0 | [ VOTE ]

!help

@checky | July 17, 2018, 7:06 p.m. | Votes: 0 | [ VOTE ]

Here are all the available commands:

  • !help - gives a list of commands and their explanations.
  • !ignore username1 username2 - tells the bot to ignore some usernames mentioned in your posts (useful to avoid the bot mistaking other social network accounts for Steem accounts).
  • !mode [regular-advanced-off] - sets the mentions checking to regular (only posts), advanced (posts and comments) or off (no checking). Alternatively, you can write normal or on instead of regular. You can also write plus instead of advanced.
  • !off - shortcut for !mode off.
  • !on - shortcut for !mode on.
  • !state - gives the state of your account (regular, advanced or off).
  • !switch [regular-advanced-off] - same as !mode.
  • !unignore username1 username2 - tells the bot to unignore some usernames mentioned in your posts.
Any idea on how to improve this bot ? Please contact @ragepeanut on any of his posts or send him a direct message on discord (RagePeanut#8078).
If you found this comment useful, consider upvoting it to help keep this bot running. You can see a list of all available commands by replying with !help.
@evildido | July 15, 2018, 3:12 p.m. | Votes: 2 | [ VOTE ]

C'est énorme ton truc :D

@ragepeanut | July 15, 2018, 3:18 p.m. | Votes: 2 | [ VOTE ]

Merci ! :D
Reste à espérer qu'il ne se fasse pas flagger... Bon après si il se fait flagger, pour limiter la casse j'ai fait en sorte que ça fasse la même chose que la commande !mode off donc ça devrait aller.

@codingdefined | July 16, 2018, 11:08 a.m. | Votes: 3 | [ VOTE ]

Thank you for your contribution. Is it necessary to check the case of operation[0] for like delegate_vesting_shares, etc and add it in the UsersList. You can always query the username on the Steem Blockchain to find out the user exists or not.

Your contribution has been evaluated according to Utopian policies and guidelines, as well as a predefined set of questions pertaining to the category.

To view those questions and the relevant answers related to your post, click here.

Need help? Write a ticket on https://support.utopian.io/.
Chat with us on Discord.
[utopian-moderator]

@ragepeanut | July 16, 2018, 11:13 a.m. | Votes: 2 | [ VOTE ]

Here is how I see it. Those operations get streamed anyway so I might as well make use of them. Plus it drastically decreases the amount of requests made to the API.

Thanks for the evaluation !

@mariannewest | July 16, 2018, 5:06 p.m. | Votes: 3 | [ VOTE ]

good luck with your project. I think it will be useful to many...

@ragepeanut | July 16, 2018, 6:08 p.m. | Votes: 1 | [ VOTE ]

Thanks for the support and thanks for recommending me to use @dustsweeper !

@utopian-io | July 17, 2018, 12:05 a.m. | Votes: 0 | [ VOTE ]

Hey @ragepeanut
Thanks for contributing on Utopian.
We’re already looking forward to your next contribution!

Want to chat? Join us on Discord https://discord.gg/h52nFrV.

Vote for Utopian Witness!

@kabir88 | July 17, 2018, 2:19 a.m. | Votes: 1 | [ VOTE ]

Cool tool! Nice to see people developing tools and growing the steem ecosystem

@ragepeanut | July 17, 2018, 1:31 p.m. | Votes: 1 | [ VOTE ]

Thanks ! Hopefully it will be useful to you one day ! :)

@ykhan60 | July 18, 2018, 7:15 a.m. | Votes: 0 | [ VOTE ]

Best of luck buddy. May you succeed in your mission. Plz comment and upvote my article

https://steemit.com/ico/@ykhan60/dxchain-ico-review-or-big-data-meets-blockchain

@brittandjosie | July 18, 2018, 6:26 p.m. | Votes: 1 | [ VOTE ]

I love you @checky

@nairadaddy | July 18, 2018, 7:36 p.m. | Votes: 2 | [ VOTE ]

Hey! I just saw the bot and I like the idea of @cheky. What I think will be the game changer is to suggest possible similar names after correcting a user.
Eg ...The username @choky doesn't exist on the blockchain, did you mean @chukky?

@ragepeanut | July 18, 2018, 10:30 p.m. | Votes: 1 | [ VOTE ]

Hey @nairadaddy! That would be awesome and I'll try to make that happen one day. I need to find a way to make that possible though aha. I also need to wait a bit for @checky to gather enough usernames so that its suggestions aren't too far from the wrong usernames. Also, I'm currently monitoring @checky's comments to find bugs or rares scenarios that I hadn't thought about while coding so that's some more time that I have to spend before working on that idea. So yeah, I'm definitely going to try to make that happen but not so soon :P

Thanks for the suggestion, really cool idea!

@trumanity | July 19, 2018, 4:10 a.m. | Votes: 0 | [ VOTE ]

If you put your spam on my posts - be sure of a flag from me.

@ragepeanut | July 19, 2018, 11:21 a.m. | Votes: 1 | [ VOTE ]

Right back at you!

@cryptogee | July 19, 2018, 5:25 p.m. | Votes: 0 | [ VOTE ]

Chill man, this isn't spam, and you can turn it off... anyways peace my brother.

Cg

@cryptogee | July 19, 2018, 5:24 p.m. | Votes: 1 | [ VOTE ]

Really nice idea, just caught a typo for me, so really appreciate the effort, thank you!

Cg

@ragepeanut | July 19, 2018, 6:14 p.m. | Votes: 0 | [ VOTE ]

Thanks! I'm glad it was useful to you!

@scottcbusiness | July 20, 2018, 7:23 p.m. | Votes: 1 | [ VOTE ]

will delegate some power to show my support and add to it over time

@ragepeanut | July 24, 2018, 6:13 p.m. | Votes: 0 | [ VOTE ]

Thanks! Not sure what I could do with it yet but I'm sure I'll find something ^^

@scottcbusiness | July 25, 2018, 12:55 a.m. | Votes: 0 | [ VOTE ]

How can I better support this? :)

@flagfixer | July 24, 2018, noon | Votes: 0 | [ VOTE ]

@ragepeanut you were flagged by a worthless gang of trolls, so, I gave you an upvote to counteract it! Enjoy!!

@digitalnew | July 27, 2018, 8:50 a.m. | Votes: 0 | [ VOTE ]

pls sir upvote you
https://steemit.com/mgsc/@digitalnew/misconception-floating-around-bitcoin-etf-got-rejected

[ BACK TO TRENDING ] [ BACK TO MENU ]
CMD>