Post the 'Daily SPN News bulletin' into the Discord

in #utopian-io3 years ago (edited)

STEEMPUNK-NET

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:

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.



Posted on Utopian.io - Rewarding Open Source Contributors

Sort:  

Thank you for the contribution. It has been approved.

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

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. 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

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)