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.
Posted on Utopian.io - Rewarding Open Source Contributors