![STEEMPUNK-NET](https://steemit-production-imageproxy-thumbnail.s3.amazonaws.com/U5ds3v8Kox3GCx2d8btbx5UiB59szsU_1680x8400) I created a new feature for our new STEEMPUNK-NET Discord Bot. ### New Features - What feature(s) did you add? **Post the 'Daily SPN News bulletin' into the Discord #3** Currently, the Daily SPN News bulletin messages are copied manually from the @steempunksnet account to the Discord. The bot can do this automatically. > What needs to be done? > - Read out posts from the steempunksnet account > - Check whether the post has already been sent to the discord (file list or smth else) > - If a new post was written on the steempunksnet account, post it to the chanel #battle-news Link to the Issue: https://github.com/pcsg/steempunknet-discord-bot/issues/3 - How did you implement it/them? The complete comit changelog can you find here: - https://github.com/pcsg/steempunknet-discord-bot/commit/62840529e7c95ce5afdf78ceda7341aaceb7f316 - https://github.com/pcsg/steempunknet-discord-bot/commit/37ac6e74714db6ae7b22b4b255980336901e1ab5 - https://github.com/pcsg/steempunknet-discord-bot/commit/9996e6b151fe09fa0d078524df2cc11167b53fce The Bot JavaScript File can you find here: https://github.com/pcsg/steempunknet-discord-bot/blob/master/crons/dailyBulletin.js #### What can you learn? - How you can read posts per steemjs - How you can filter steem posts - How you can send newest Steem posts to Discord If you have any questions like how to build a Discord Bot, please do not hesitate to contact me. <br /><hr/><em>Posted on <a href="https://utopian.io/utopian-io/@dehenne/post-the-daily-spn-news-bulletin-into-the-discord">Utopian.io - Rewarding Open Source Contributors</a></em><hr/>
post_id | 32,300,054 | ||||||
---|---|---|---|---|---|---|---|
author | dehenne | ||||||
permlink | post-the-daily-spn-news-bulletin-into-the-discord | ||||||
category | utopian-io | ||||||
json_metadata | "{"repository": {"owner": {"login": "pcsg"}, "id": 121271480, "full_name": "pcsg/steempunknet-discord-bot", "fork": false, "name": "steempunknet-discord-bot", "html_url": "https://github.com/pcsg/steempunknet-discord-bot"}, "moderator": {"pending": false, "account": "vladimir-simovic", "reviewed": true, "flagged": false, "time": "2018-02-14T02:00:37.027Z"}, "format": "markdown", "platform": "github", "tags": ["utopian-io", "steempunknet", "discord", "steemjs", "steem"], "community": "utopian", "type": "development", "pullRequests": [], "links": ["https://steemit-production-imageproxy-thumbnail.s3.amazonaws.com/U5ds3v8Kox3GCx2d8btbx5UiB59szsU_1680x8400"], "app": "utopian/1.0.0", "users": ["steempunksnet"], "image": ["https://steemit-production-imageproxy-thumbnail.s3.amazonaws.com/U5ds3v8Kox3GCx2d8btbx5UiB59szsU_1680x8400"]}" | ||||||
created | 2018-02-13 06:51:54 | ||||||
last_update | 2018-02-14 02:00:36 | ||||||
depth | 0 | ||||||
children | 3 | ||||||
net_rshares | 18,066,046,380,765 | ||||||
last_payout | 2018-02-20 06:51:54 | ||||||
cashout_time | 1969-12-31 23:59:59 | ||||||
total_payout_value | 74.602 SBD | ||||||
curator_payout_value | 32.233 SBD | ||||||
pending_payout_value | 0.000 SBD | ||||||
promoted | 0.000 SBD | ||||||
body_length | 1,731 | ||||||
author_reputation | 8,024,988,975,286 | ||||||
root_title | "Post the 'Daily SPN News bulletin' into the Discord" | ||||||
beneficiaries |
| ||||||
max_accepted_payout | 1,000,000.000 SBD | ||||||
percent_steem_dollars | 10,000 | ||||||
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
berkah | 0 | 10,923,855,923 | 5% | ||
mrs.agsexplorer | 0 | 11,463,453,102 | 2% | ||
pnc | 0 | 18,901,542,522 | 5% | ||
teamsteem | 0 | 601,250,315,882 | 5% | ||
jillfeint | 0 | 4,251,282,397 | 100% | ||
bitcoiner | 0 | 7,836,295,736 | 5% | ||
alexvan | 0 | 22,081,659,089 | 20% | ||
detlev | 0 | 2,544,040,310 | 5% | ||
oendertuerk | 0 | 17,380,259,601 | 10% | ||
greenstar | 0 | 4,973,367,931 | 5% | ||
dehenne | 0 | 2,131,041,053 | 100% | ||
luigi-tecnologo | 0 | 602,781,434 | 4% | ||
dksart | 0 | 38,420,169,443 | 100% | ||
codingdefined | 0 | 7,593,177,496 | 25% | ||
cifer | 0 | 2,238,138,852 | 80% | ||
kahdafy | 0 | 1,788,689,520 | 100% | ||
jedigeiss | 0 | 297,019,957,855 | 50% | ||
arquiatra | 0 | 1,871,893,557 | 100% | ||
utopian-io | 0 | 16,930,790,615,806 | 13.85% | ||
steempunknet | 0 | 64,621,312,420 | 100% | ||
oger | 0 | 603,013,600 | 100% | ||
mordark | 0 | 1,137,360,312 | 100% | ||
papke | 0 | 200,410,525 | 100% | ||
ravenruis | 0 | 13,405,924,884 | 100% | ||
beesha | 0 | 503,890,000 | 100% | ||
robin5581 | 0 | 313,630,491 | 5% | ||
jonas1996 | 0 | 593,046,476 | 100% | ||
artcontemporany | 0 | 605,254,548 | 100% |
Such a handy feature :) I do have a question about a Discord bot's capabilities, but I can't think of the right words to describe what I'd like it to do. I'll have to think on it some more. :D (and don't worry, it's not for SPN, lol)
post_id | 32,302,447 |
---|---|
author | ravenruis |
permlink | re-dehenne-post-the-daily-spn-news-bulletin-into-the-discord-20180213t070546626z |
category | utopian-io |
json_metadata | "{"app": "steemit/0.1", "tags": ["utopian-io"]}" |
created | 2018-02-13 07:05:45 |
last_update | 2018-02-13 07:05:45 |
depth | 1 |
children | 0 |
net_rshares | 1,960,428,239 |
last_payout | 2018-02-20 07:05:45 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 SBD |
curator_payout_value | 0.000 SBD |
pending_payout_value | 0.000 SBD |
promoted | 0.000 SBD |
body_length | 234 |
author_reputation | 5,523,600,016,287 |
root_title | "Post the 'Daily SPN News bulletin' into the Discord" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 SBD |
percent_steem_dollars | 10,000 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
dehenne | 0 | 1,960,428,239 | 100% |
Thank you for the contribution. It has been approved. You can contact us on [Discord](https://discord.gg/uTyJkNm). **[[utopian-moderator]](https://utopian.io/moderators)**
post_id | 32,489,437 |
---|---|
author | vladimir-simovic |
permlink | re-dehenne-post-the-daily-spn-news-bulletin-into-the-discord-20180214t020041568z |
category | utopian-io |
json_metadata | "{"app": "utopian/1.0.0", "community": "utopian", "tags": ["utopian-io"]}" |
created | 2018-02-14 02:00:45 |
last_update | 2018-02-14 02:00:45 |
depth | 1 |
children | 0 |
net_rshares | 2,211,966,663 |
last_payout | 2018-02-21 02:00:45 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 SBD |
curator_payout_value | 0.000 SBD |
pending_payout_value | 0.000 SBD |
promoted | 0.000 SBD |
body_length | 172 |
author_reputation | 56,522,611,888,290 |
root_title | "Post the 'Daily SPN News bulletin' into the Discord" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 SBD |
percent_steem_dollars | 10,000 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
dehenne | 0 | 2,211,966,663 | 100% |
### Hey @dehenne I am @utopian-io. I have just upvoted you! #### Achievements - Seems like you contribute quite often. AMAZING! #### Community-Driven Witness! I am the first and only Steem Community-Driven Witness. <a href="https://discord.gg/zTrEMqB">Participate on Discord</a>. Lets GROW TOGETHER! - <a href="https://v2.steemconnect.com/sign/account-witness-vote?witness=utopian-io&approve=1">Vote for my Witness With SteemConnect</a> - <a href="https://v2.steemconnect.com/sign/account-witness-proxy?proxy=utopian-io&approve=1">Proxy vote to Utopian Witness with SteemConnect</a> - Or vote/proxy on <a href="https://steemit.com/~witnesses">Steemit Witnesses</a> [![mooncryption-utopian-witness-gif](https://steemitimages.com/DQmYPUuQRptAqNBCQRwQjKWAqWU3zJkL3RXVUtEKVury8up/mooncryption-s-utopian-io-witness-gif.gif)](https://steemit.com/~witnesses) **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**
post_id | 32,603,112 |
---|---|
author | utopian-io |
permlink | re-dehenne-post-the-daily-spn-news-bulletin-into-the-discord-20180214t132821186z |
category | utopian-io |
json_metadata | "{"app": "utopian/1.0.0", "community": "utopian", "tags": ["utopian-io"]}" |
created | 2018-02-14 13:28:21 |
last_update | 2018-02-14 13:28:21 |
depth | 1 |
children | 0 |
net_rshares | 2,064,103,575 |
last_payout | 2018-02-21 13:28:21 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 SBD |
curator_payout_value | 0.000 SBD |
pending_payout_value | 0.000 SBD |
promoted | 0.000 SBD |
body_length | 1,005 |
author_reputation | 152,913,012,544,965 |
root_title | "Post the 'Daily SPN News bulletin' into the Discord" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 SBD |
percent_steem_dollars | 10,000 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
dehenne | 0 | 2,064,103,575 | 100% |