Fix a nasty bug inside of a STEEM Discord Bot [20 steem bounty]
utopian-io·@jestemkioskiem·
0.000 HBDFix a nasty bug inside of a STEEM Discord Bot [20 steem bounty]
Just today I have created **SockoBot** for a polish discord community I will be building and opened it up to the open source community. [github](https://github.com/Jestemkioskiem/steem-sockobot) [dev's github profile](https://github.com/Jestemkioskiem)  > ~~Mind that currently all strings in the code are in polish, although comments and variables are in english. That's because I plan to deploy this to my polish community first. The bot will be translated to english when it's ready for a official launch.~~ The bot has now been translated to english. ### What is SockoBot? SockoBot is a steem related Discord bot that handles functionality that every steem related discord channel might want to have. The full contribution post including the full documentation will be posted soon, when I finish adding it new functionality and translating it to english. For now, you can read the [readme](https://github.com/Jestemkioskiem/steem-sockobot/blob/master/README.md) file if you want to know more about it. ### The bug in question. One of the functions of SockoBot is fetching all posts that have yet to pay out and calculate their value in USD. This works on users with 0 posts, users with dozens of posts and users with crazy high payouts. For some reason though, it doesn't work on people with really high reputation in the community, like @gtg or @jesta. This seems to be the case for most top witnesses, but pretty much no one else. The bug is easy to reproduce, but it throws dozens of errors at you every time it occurs, not to mention that it will freeze the bot and not crash it, so you need to manually shut it down every time. I have yet to find a solution for this. For whoever creates a proper fix to this issue I offer **20 steem** and an 100% upvote on the contribution post on utopian-io. Other fixes are welcome and are sure to be accepted as contributions on steem as well. Depending on how nasty the bug was and how hard it was to fix, it might even reward a bounty. ### Rules: All contributions are to be deployed as pull requests to the linked github repository. They have to be documented properly in the commit message. For questions about my messy code, contact me at **@jestemkioskiem** on steemit.chat or **Vctr#5566** on Discord. Only bugfixes that don't create other obvious bugs will be accepted and receive the bounty. The bounty will be paid to the best contribution, or to the first one if no one responds with a different one in 24h. *Edit*: It appears that the fix *might be* to multithread and put the discord and steem functionaly into seperate files. If anyone is willing to do that, you're welcome to do so and you'll receive full recognition for it. <br /><hr/><em>Posted on <a href="https://utopian.io/utopian-io/@jestemkioskiem/fix-a-nasty-bug-inside-of-a-steem-discord-bot-20-steem-bounty">Utopian.io - Rewarding Open Source Contributors</a></em><hr/>
👍 sandan, saunter, jamzed, tabris, cmp2020, cub1, villaincandle, dusttanker, kiosk, average-guy, koscian, jestemkioskiem, cifer, wehmoen, utopian-io, lemony-cricket, mys, kubol990,