Votefun- A Simple Yet Powerful Discord Upvoting Bot by rishi556

View this thread on steempeak.com
· @rishi556 · (edited)
$1.75
Votefun- A Simple Yet Powerful Discord Upvoting Bot
#### Repository
https://github.com/Rishi556/Votefun

#### Introduction
Votefun is a discord upvote bot similar to that in PAL.NET, and recently in the SteemMonsters discord channel as well but open source and customizable to easily allow anyone to add it to their server and let the members use it. Once the bot is in the server, a member can simply type in the the upvote command, which is a prefix(defined by the administrator of the bot on the server) and upvote, then providing the post link to a post either on busy.org or steemit.com, example : `$upvote https://busy.org/@rishi556/votefun-a-simple-yet-powerful-discord-upvoting-bot`. Our 1.0.0 release happened on September 22,2018 and with that, I wanted to introduce the project out to everyone.

#### Post Body
Votefun was originally designed to be in one discord server only, and give votes to the posts of members of that server only, but upon seeing the potential to help communities grow, Votefun decided to go open source and allow everyone to add a bot of that nature to their server. 

<center><img src="https://ipfs.busy.org/ipfs/QmbguCoC1ghXXwqtVmfahSdzKKfKG6ZZ5FVq8eb5FkWDKk">
<sub>From the <a href="https://discord.gg/8KS5A7x">kiwibot discord server</a>. We can see that the bot left a vote on the post.</sub></center>

<center><img src="https://ipfs.busy.org/ipfs/QmW5dWXaBtF51KqeeudAJJqLebcP3Y4xsAkyNiaiTpLGNF">
<sub>Sometimes the bot doesn't upvote a post because the post doesn't meet the qualifications. This was in the <a href="https://discord.gg/9DWQc8v">cryptowithincin discord server</a>.</sub></center>

Votefun is now designed with customizability in mind. An easy to use config file means that even those without extensive programming knowledge will be able to edit it to their heart's content. A few of the items that the bot owner can customize currently are: 
- the comment left under voted posts
- the prefix used in the discord server
- the ability to whitelist users to give them better rewards, whitelisting is done on a steem username basis
- the name of the role in discord that has the ability to add to and remove from the bot's whitelist
- the minimum and maximum age of a post that will be voted for whitelisted users
- the minimum and maximum age of posts that will be voted for non-whitelisted users
- the minimum voting power of the account in order to cast a vote
- the ability to send bids to @drotto on posts for whitelisted users
- the amount to send to @drotto if sending bids to it is enabled
- the ability to send an extra message to send on the discord server when the vote is successfully cast(or attempted to).
- vote timer(a steem account can only get a vote every 24 hours)
- customizing properties right from discord(functions only a few a few properties)
- vote % for whitelisted and non whitelisted users
<br>

<center><img src="https://ipfs.busy.org/ipfs/QmdrpACTSdD3SC5Udwxk1uJ8gMdrGBwfyBxFN1QFTDqv3s">
<sub>The bot sends bids to @drotto in this format.</sub></center>



##### Roadmap
A project can't be anything without goals, and here our our current goal is to release V2.0 By December 31st 2018. V2.0 will have to goal of:
- Changing to codebase to be more readable for those who want to be able to edit it, while doing this, I'll also be converting steemjs to dsteem
- Refactored out the code  to help with readability and making it easier for those who run the bot on their server to change the settings of the bot without having to mess with the config file on their server or the messy nature of discord
- A simple mobile app, that help bot owners view information about their bot easily and edit anything that they need to. 
- Weekly posting of stats of the bot. This was attempted in the alpha version, but because of errors, it wasn't incorporated on V1.0. 
- More customizable bid to bots. Right now we only have support for @drotto right off the gate, but I hope to make it easier to add more bots to send bids to as well as customizable bid to each bot.
- Better error messages. Error messages just say error right now, better error messages will enable users to know why their post wan't able to get voted.
- Blacklist tag. If a user uses a certain tag on a post, the post won't get voted.
- Required tag. A user must have a certain tag for their post to get voted.
- Don't require users to use a site that follow @user/permlink format. Currently users need to use links that follow the above mentioned format, but with a V2.0, support for more sites(link format) will be enabled.
- Finally blacklisting is also planned to be added onto votefun. We will use blacklists that are already out there like the @buildawhile blacklist and a few others, and our own, as well as a  blacklist just for the bot. This will be done through the global blacklist api created by @themarkymark(his post about it can be found<a href="https://busy.org/@themarkymark/steem-global-blacklist-api-released-for-testing"> here</a>. Bot owners will be able to configure which blacklists they want to enable. Blacklists will supersede whitelists so if a user is blacklisted, even if they are in the bot's whitelist, they won't receive a vote. If you are a bot owner and want to change this around, you will be able to do so by altering the code a bit. 

The bot is already running on a few servers and has worked fantastically there so far.

#### Resources
Kiwibot discord server where you can try the bot out: https://discord.gg/8KS5A7x.
Cryptowithincin discord server where you can try the bot out: https://discord.gg/9DWQc8v.
Version 1.0.0 on github: https://github.com/Rishi556/Votefun/tree/V1.0.0. At the time of writing, its the most stable version.
👍  , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
properties (23)
post_id63,159,941
authorrishi556
permlinkvotefun-a-simple-yet-powerful-discord-upvoting-bot
categoryutopian-io
json_metadata{"users":["rishi556","drotto","user","buildawhile","themarkymark"],"community":"busy","tags":["utopian-io","blog","votefun","busy","discord"],"links":["https:\/\/github.com\/Rishi556\/Votefun","https:\/\/discord.gg\/8KS5A7x","https:\/\/discord.gg\/9DWQc8v","\/@drotto","\/@drotto","\/@drotto","\/@drotto","\/@user","\/@buildawhile","\/@themarkymark"],"format":"markdown","app":"busy\/2.5.6","image":["https:\/\/ipfs.busy.org\/ipfs\/QmbguCoC1ghXXwqtVmfahSdzKKfKG6ZZ5FVq8eb5FkWDKk"]}
created2018-09-24 00:34:42
last_update2018-09-24 03:34:27
depth0
children11
net_rshares1,454,514,434,322
last_payout2018-10-01 00:34:42
cashout_time1969-12-31 23:59:59
total_payout_value1.505 SBD
curator_payout_value0.246 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length5,660
author_reputation13,910,198,687,980
root_title"Votefun- A Simple Yet Powerful Discord Upvoting Bot"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
author_curate_reward""
vote details (60)
@votefun ·
title
You got voted by @votefun thanks to Princess. To support development, check out @rishi556. Hosted on the @cryptowithincin discord.
properties (22)
post_id63,160,829
authorvotefun
permlinkre-votefun-a-simple-yet-powerful-discord-upvoting-bot
categoryutopian-io
json_metadata{"app":"Discord"}
created2018-09-24 00:54:15
last_update2018-09-24 00:54:15
depth1
children0
net_rshares0
last_payout2018-10-01 00:54:15
cashout_time1969-12-31 23:59:59
total_payout_value0.000 SBD
curator_payout_value0.000 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length130
author_reputation34,585,088,305
root_title"Votefun- A Simple Yet Powerful Discord Upvoting Bot"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
@curationkiwi ·
title
You got voted by @curationkiwi thanks to Princess! This bot is managed by @KiwiBot and run by @rishi556, you can check both of them out there. To receive maximum rewards, you must be a member of @KiwiBot. To receive free upvotes for yourself (even if you are not a member) you can join the KiwiBot Discord [linked here](https://discord.gg/9cCHf8G) and use the command !upvote (post name) in #curationkiwi.
properties (22)
post_id63,160,846
authorcurationkiwi
permlinkre-votefun-a-simple-yet-powerful-discord-upvoting-bot
categoryutopian-io
json_metadata{"app":"Discord"}
created2018-09-24 00:54:33
last_update2018-09-24 00:54:33
depth1
children0
net_rshares0
last_payout2018-10-01 00:54:33
cashout_time1969-12-31 23:59:59
total_payout_value0.000 SBD
curator_payout_value0.000 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length405
author_reputation2,747,191,214,125
root_title"Votefun- A Simple Yet Powerful Discord Upvoting Bot"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
@drotto ·
<p>This post has received a 3.13 % upvote from @drotto thanks to: @curationkiwi.</p>
properties (22)
post_id63,160,963
authordrotto
permlinkre-rishi556-votefun-a-simple-yet-powerful-discord-upvoting-bot-20180924t005653393z
categoryutopian-io
json_metadata{"tags":["utopian-io"],"app":"drotto\/0.0.5pre2"}
created2018-09-24 00:56:54
last_update2018-09-24 00:56:54
depth1
children0
net_rshares0
last_payout2018-10-01 00:56:54
cashout_time1969-12-31 23:59:59
total_payout_value0.000 SBD
curator_payout_value0.000 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length85
author_reputation424,402,347,817
root_title"Votefun- A Simple Yet Powerful Discord Upvoting Bot"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
@didic ·
$6.15
Congratulations on launching your project! Votefun seems like an interesting project that may be of use to many.

I had some issues with the post, both in terms of content and in regards to presentation. So let's talk about that.

Your post is written under the assumption that people have a significant amount of existing knowledge. That they know what PAL is, that they know what a bidbot is. While expecting readers to know what Discord is seems reasonable to me (and readers who aren't on Discord are unlikely to have a use for Votefun), I would not expect a general audience to know these terms. A bit of explanation would make the post clearer to a general audience. This is both more inclusive and a better thing for you, as it expands your potential userbase. This is a basic difference between the Blog and Development categories in Utopian: The former is aimed at a much more general audience. 

On to the topic of bidbots, I must say that I would personally be happier with the project if it didn't support any of those. Without that, it's a clear good thing: A tool that helps community members support other community members. I've seen similar bots, and they seem to work well if they get community support. Bidbots are controversial on the blockchain. I understand the points for and against, but it is inarguable that they are controversial. And, personally, I'm not a fan.

I like much of the roadmap, with the mobile app being a nice touch. 

Finally, the post had some issues of style and grammar. I'd be happy to supply examples in a follow-up comment if wanted. 

Your contribution has been evaluated according to [Utopian policies and guidelines](https://join.utopian.io/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](https://review.utopian.io/result/1/23214212).

---- 
Need help? Write a ticket on https://support.utopian.io/. 
Chat with us on [Discord](https://discord.gg/uTyJkNm). 
[[utopian-moderator]](https://join.utopian.io/)
👍  , , , , , , , , , , , , , ,
properties (23)
post_id63,166,732
authordidic
permlinkre-rishi556-votefun-a-simple-yet-powerful-discord-upvoting-bot-20180924t025139403z
categoryutopian-io
json_metadata{"app":"steemit\/0.1","links":["https:\/\/join.utopian.io\/guidelines","https:\/\/review.utopian.io\/result\/1\/23214212","https:\/\/support.utopian.io\/","https:\/\/discord.gg\/uTyJkNm","https:\/\/join.utopian.io\/"],"tags":["utopian-io"]}
created2018-09-24 02:51:36
last_update2018-09-24 02:51:36
depth1
children4
net_rshares4,477,035,334,771
last_payout2018-10-01 02:51:36
cashout_time1969-12-31 23:59:59
total_payout_value4.654 SBD
curator_payout_value1.491 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length2,075
author_reputation76,442,227,425,259
root_title"Votefun- A Simple Yet Powerful Discord Upvoting Bot"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
author_curate_reward""
vote details (15)
@rishi556 ·
Thanks for the suggestions, I think that the basic explanation got lost during the saves for this post(been slowly adding to it for about a month), but I'll edit it to include that.

My goal with the bot was to help communities support its members, especially since I saw many groups were voting posts made by their users, but it was either manual, or automated and not functioning properly(@steemkitchen had a bot that broke). Joining up many discord, (steem drone lovers is an example), I saw the leaders were attempting to vote for for people who made posts about topics relating to that community, and that plus a spiral of other events led me to start creating this bot. My biggest hope is that small communities to use this to help give their members something extra.

As for bidbots, I do understand your side, but I chose to include them as a way for communities without a lot of SP to help their members without having to spend too much on it. If you(or anyone for the matter) have any ideas on what I could use to replace that while still allowing new communities to help their members, I'll be happy to replace it.

The mobile app idea is a personal favorite of mine, especially since I learned how to use express.js. I do host a couple instances of the bot and having to change the settings when they ask does take some time so I thought about having a way that they can easily control it for themselves. Plus it gives me another excuse to learn more about android development. 

As for style, is the bulleted list not acceptable? I'm willing to change it to what works best, and I thought it might be a good way to separate out the different ideas. I would love examples of great posts.
properties (22)
post_id63,168,728
authorrishi556
permlinkre-didic-re-rishi556-votefun-a-simple-yet-powerful-discord-upvoting-bot-20180924t033103768z
categoryutopian-io
json_metadata{"image":[],"links":["\/@steemkitchen"],"tags":["utopian-io"],"users":["steemkitchen"],"community":"busy","app":"busy\/2.5.6","format":"markdown"}
created2018-09-24 03:31:06
last_update2018-09-24 03:31:06
depth2
children2
net_rshares0
last_payout2018-10-01 03:31:06
cashout_time1969-12-31 23:59:59
total_payout_value0.000 SBD
curator_payout_value0.000 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length1,699
author_reputation13,910,198,687,980
root_title"Votefun- A Simple Yet Powerful Discord Upvoting Bot"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
@didic ·
The style issue is not about formatting. The formatting is fine. It's more about the English, in terms of grammar and sentence construction. 

Are you familiar with 1UP? When they launch next month, they may become useful in doing exactly what you want to do: Supporting communities. Their system of 1person=1vote would probably not mesh well with the bot, however.
👍  ,
properties (23)
post_id63,169,228
authordidic
permlinkre-rishi556-re-didic-re-rishi556-votefun-a-simple-yet-powerful-discord-upvoting-bot-20180924t034157513z
categoryutopian-io
json_metadata{"app":"steemit\/0.1","tags":["utopian-io"]}
created2018-09-24 03:41:57
last_update2018-09-24 03:41:57
depth3
children1
net_rshares2,334,425,300
last_payout2018-10-01 03:41:57
cashout_time1969-12-31 23:59:59
total_payout_value0.000 SBD
curator_payout_value0.000 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length365
author_reputation76,442,227,425,259
root_title"Votefun- A Simple Yet Powerful Discord Upvoting Bot"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
author_curate_reward""
vote details (2)
@utopian-io ·
Thank you for your review, @didic!

So far this week you've reviewed 11 contributions. Keep up the good work!
properties (22)
post_id63,411,572
authorutopian-io
permlinkre-re-rishi556-votefun-a-simple-yet-powerful-discord-upvoting-bot-20180924t025139403z-20180930t143122z
categoryutopian-io
json_metadata{"app":"beem\/0.20.1"}
created2018-09-30 14:31:24
last_update2018-09-30 14:31:24
depth2
children0
net_rshares0
last_payout2018-10-07 14:31:24
cashout_time1969-12-31 23:59:59
total_payout_value0.000 SBD
curator_payout_value0.000 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length109
author_reputation152,913,012,544,965
root_title"Votefun- A Simple Yet Powerful Discord Upvoting Bot"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
@steem-ua ·
#### Hi @rishi556!

Your post was upvoted by @steem-ua, new Steem dApp, using UserAuthority for algorithmic post curation!
Your post is eligible for our upvote, thanks to our collaboration with @utopian-io!
**Feel free to join our [@steem-ua Discord server](https://discord.gg/KpBNYGz)**
properties (22)
post_id63,169,128
authorsteem-ua
permlinkre-votefun-a-simple-yet-powerful-discord-upvoting-bot-20180924t033955z
categoryutopian-io
json_metadata{"app":"beem\/0.19.54"}
created2018-09-24 03:39:57
last_update2018-09-24 03:39:57
depth1
children0
net_rshares0
last_payout2018-10-01 03:39:57
cashout_time1969-12-31 23:59:59
total_payout_value0.000 SBD
curator_payout_value0.000 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length287
author_reputation23,203,609,903,979
root_title"Votefun- A Simple Yet Powerful Discord Upvoting Bot"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
@trufflepig ·
**Congratulations!** Your post has been selected as a daily Steemit truffle! It is listed on **rank 22** of all contributions awarded today. You can find the [TOP DAILY TRUFFLE PICKS HERE.](https://steemit.com/@trufflepig/daily-truffle-picks-2018-09-24) 
    
I upvoted your contribution because to my mind your post is at least **14 SBD** worth and should receive **328 votes**. It's now up to the lovely Steemit community to make this come true.

I am `TrufflePig`, an Artificial Intelligence Bot that helps minnows and content curators using Machine Learning. If you are curious how I select content, [you can find an explanation here!](https://steemit.com/steemit/@trufflepig/weekly-truffle-updates-2018-38)
    
Have a nice day and sincerely yours,
![trufflepig](https://raw.githubusercontent.com/SmokinCaterpillar/TrufflePig/master/img/trufflepig17_small.png)
*`TrufflePig`*
    
properties (22)
post_id63,215,082
authortrufflepig
permlinkre-votefun-a-simple-yet-powerful-discord-upvoting-bot-20180924t154149
categoryutopian-io
json_metadata{}
created2018-09-24 15:41:51
last_update2018-09-24 15:41:51
depth1
children0
net_rshares0
last_payout2018-10-01 15:41:51
cashout_time1969-12-31 23:59:59
total_payout_value0.000 SBD
curator_payout_value0.000 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length885
author_reputation37,535,693,521,838
root_title"Votefun- A Simple Yet Powerful Discord Upvoting Bot"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
@steemhq ·
re-rishi556-votefun-a-simple-yet-powerful-discord-upvoting-bot-20180925t015839080z
![YOU JUST GOT UPVOTED](https://www.steemhq.com/CommunityBotUpvote.png)

**Congratulations,**
you just received a 15.11% upvote from @steemhq - Community Bot!

***Wanna join and receive free upvotes yourself?***
Vote for `steemhq.witness` on [Steemit](https://steemit.com/~witnesses) or directly on [SteemConnect](https://steemconnect.com/sign/account-witness-vote?witness=steemhq.witness&approve=1 "This link will take you away from steemit.com") and join the [Community Witness](https://www.steemhq.com/witness).
![](https://steemitimages.com/0x0/https://www.steemhq.com/steemhq_voting.gif)

This service was brought to you by [SteemHQ.com](https://www.steemhq.com)
properties (22)
post_id63,253,987
authorsteemhq
permlinkre-rishi556-votefun-a-simple-yet-powerful-discord-upvoting-bot-20180925t015839080z
categoryutopian-io
json_metadata{"app":"communitybot\/1.1.0"}
created2018-09-25 01:58:39
last_update2018-09-25 01:58:39
depth1
children0
net_rshares0
last_payout2018-10-02 01:58:39
cashout_time1969-12-31 23:59:59
total_payout_value0.000 SBD
curator_payout_value0.000 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length667
author_reputation4,222,362,886,512
root_title"Votefun- A Simple Yet Powerful Discord Upvoting Bot"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000