SockoBot - a discord steem bot for your community.

in #utopian-io7 years ago (edited)

discord.jpg

SockoBot - the most open source friendly steem discord bot.

Just a few days ago I started the development of the most open source friendly discord steem-related bot out there. SockoBot is trying to be the only tool you'll ever need on your server when it comes to steem, while also being easily expandable to anyone that knows a bit of Python. This is the first version that's ready for deployment, and while it isn't nearly finished yet, it's been serving my discord community for a while now.
The bot will continue to be supported for much, much longer. It will receive numerous updates and grow a lot over time - this is just the beginning! If you want to help - contribute with pull requests or contact me directly!

github
20 steem bounty on a bug
Most of the strings on screenshots below are in polish, although the bot has already been translated to english (the polish version is in a seperate branch).

Functionalities:

Link a post to show its stats! If a moderator reacts to it with a predetermined emote, it will get upvoted with the provided private active key!

The idea is to allow currators to easily upvote posts of their community's users without leaving discord. In the future SockoBot might make an appearance with his own account and upvote anything that was upvoted via this discord bot!

Stats look like this (for now):

małpka.PNG

And the response looks like this:

zaakceptowany.PNG

The post submited by @kubol990 of ID 394888215447732224 was accepted by @jestemkioskiem

Set different values to different channels, so your upvotes are stronger on specific content!

The values represented here are in percents, so for example, any posts posted in the 2nd channel would only receive an upvote of 60%.
voting power.PNG

Commands with easy way to edit and add new ones to the existing code!

payout

payout.PNG

@jestemkioskiem will receive 1154.4 USD: 1037.1 in SBD and 117.42 in SP.

Calculates the total value of posts that have yet to pay out, then converts it to USD (using coinmarketcap prices in real time).

price SBD/STE/BTC

Checks the current price of Steem, Steem Dollar or Bitcoin (using coinmarketcap prices in real time).
price.PNG

The current price of Steem Dollar (SBD): 8.8397 USD

ping

Checks if the bot is responsive.
ping.PNG

TO DO:

  • Add a subscription system where users can register. If a user doesn't have a subscription, the bot will automatically remove his posts from premium channels.
  • Remove this nasty bug
  • Make downvoting possible with a different emote, for example, this could be used in an anty-abuse discord.
  • Make editing permissions and adding channels possible without editing the code. Ideally, the bot should be ready to go when you add it to the server and should be editable via commands. This will be added after all of the above are ready and the bot is ready to be deployed to Discord's public bot lists.

Known issues:

  • The bot will freeze when this bug is encountered. It will be fixed in the next update.
  • If the bot is rebooted, content linked to discord before his reboot won't be upvoted even when reacted to. To avoid this, keep your bot up at all times. This is an issue with discord's python API in general and the way it handles caching messages, but will be fixed when a database for subscriptions is added.



Posted on Utopian.io - Rewarding Open Source Contributors

Sort:  

Thank you for the contribution. It has been approved.

Fantastic work - love it! I have approved your post, but please add a license file to your GitHub repo. A true open source project needs an open source license.

Looking forward to seeing where you take this project in future!

You can contact us on Discord.
[utopian-moderator]

I'm currently on vacation but I'll get to it as soon as I'm home, thanks for reminding me and for the kind words!

I hope you have a great holiday! =)

Hey @jestemkioskiem I am @utopian-io. I have just upvoted you!

Achievements

  • You have less than 500 followers. Just gave you a gift to help you succeed!
  • Seems like you contribute quite often. AMAZING!

Community-Driven Witness!

I am the first and only Steem Community-Driven Witness. Participate on Discord. Lets GROW TOGETHER!

mooncryption-utopian-witness-gif

Up-vote this comment to grow my power and help Open Source contributions like this one. Want to chat? Join me on Discord https://discord.gg/Pc8HG9x

Coin Marketplace

STEEM 0.18
TRX 0.14
JST 0.030
BTC 58617.29
ETH 3164.87
USDT 1.00
SBD 2.44