KuyaBot Update Version 3 - Even more functionality

in utopian-io •  7 years ago  (edited)

image.png

I spent the entire last week and weekend playing around with the KuyaBot code and after several failed attempts have finally updated the code (thanks to the help of @wehmoen code) to give KuyaBot a set of new features that will undoubtedly and hopefully be useful to the PH community.

Details

Of the many new features, I updated some of Kuyabot's responses to bemore up-to-date. The most important features, however (and the one's that took me the longest and most attempts to get right), are the addition of the profile function and the Steemit post search functions.

Profile Function

Using the !steem [username] command in the PH Discord Server, KuyaBot will search, identify, and pull up your Steemit profile and various public information and post it to the Discord Channel.

image.png

Steemit Post Search Functions

This feature allows you to search for New, Trending, or Hot posts by using the !hot [keyword], !trending [keyword], !new [keyword] commands and will generate results and post them to the channel. This feature allows you to look for posts that will interest you.

image.png

Components

Files updated in this Version:
index.js - Code updated with features listed above.
utils.js - Javascript file for profile and search code added

Additional dependencies installed for new functions:
-- discordie
-- steem
-- time_ago_in_words
-- oust
-- html2plaintext
-- remove-markdown

Next Steps

Add Crypto pricing/charts/summary
Add Translation Feature
Add Games
Add Trivia
AI Interaction
Daily SBD Giveaways to random Active Users
Karaoke and Pinoyhenyo

If you have any questions, inputs, or feedback, please feel free to let me know in the comments below. Please also let me know if you have any recommendations or requests for additional features.

You can see KuyaBot in action by visiting the Steemit Philippines | SteemPH Discord Server


This new features were created using the code from @wehmoen's SteemDC Bot which can be found HERE
https://github.com/cloh76/KuyaBot https://github.com/cloh76/KuyaBot/commit/989fb1b172083d335d1c33dac7ef872618eba775



Posted on Utopian.io - Rewarding Open Source Contributors

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!
Sort Order:  
  ·  7 years ago (edited)
  ·  7 years ago (edited)Reveal Comment
  ·  7 years ago (edited)

Adding this information AFTER being accused for plagiarism is the same as paying for something AFTER you got caught stealing it. Won't help!

Update: If you really didn't mean to put your name on somebody else's work, like you say, then see this as a learning. We are talking about Open Source software in the end, so using other people's work is actually what this here is all about. BUT it still has to be clear, which parts you took from another codebase. Simply copying the code from others and actually even removing all occurrences of the authors name is totally out of place. Furthermore, there are licenses that define what you can do with a software and what not. Even an Open Source license is still a license. At the time of writing your post, there actually wasn't any license at all in the original repository (@wehmoen's mistake actually). Strictly legally speaking you were not even allowed to use the software at all. Now there's a license. So feel free to use it within the given conditions. (Yes, this might be a bit fussy but we try to stick with the rules as good as possible.)

Could you please fix the api to the feed generator steemit widget? I was very happy with it :)

The original post had (thanks to the help of @wehmoen code) in the first paragraph.

  ·  7 years ago (edited)
  ·  7 years ago (edited)
  ·  7 years ago (edited)

I credited the source in the original post in the first paragraph.

I have added additional notes to the base to make sure there is additional content re-inforcing the fact that these new features are based on your SteemDC code.

this is useful to the ph community . keep sharing more power!

Thanks @ricmark. Glad to hear it!

nice nice nice nice. I was playing that a while ago and I have no idea you spent a week long stress and sleepless nights.

Thank you for your contribution. good job @cloh76 clap clap clap

yea. I'm continuously trying to add features to enhance what the bot can do. I'm hoping to reduce and consolidate the number of bots we have on the server.

Just little bit confused -

It shows 58.42... but the post only 24.43... How did it calculate that way? Thanks

Looks like a very helpful tool.

Thanks @fortunee! I appreciate the feedback