Marshal is Discord bot maintained by and developed by
. Its job is to manage new post links placed by Discord users and sort them into proper #tag channels. The pasted links get post's metadata from Steem blockchain and show them in catchy way.
Task request
Few days ago asked for a help to develop above functionality.
Feature
Every pasted link like that
https://steemit.com/tematygodnia/@anna.urbanska/obrocili-kleske-w-sposob-na-zycie-historia-tajskiej-rodziny-dotknietej-trzesieniem-ziemi
is immediately intercepted by Marshal. It gets moved and bot reply message as follows:
Proper channel highlights with a +1 new notification.
There we see our pasted link. It has detailed summary which was already created by . Even if the bot has moved the link, he adds which user did it in previous channel:
Second feature is post acceptation by mods. By reaction of ☑️ icon, it gets approved and then moved to proper #verified_channel.
Post disappear with its details also. It gets moved in similiar way to next channel.
And we see the result.
The code contains also latest Steem API node fixes. The steemd.com abandoned API is draining Steem-bot creators last days ;) A little of code refactoring happened also.
Links
https://github.com/codename-littleboy/steem-moderation/pull/15
Posted on Utopian.io - Rewarding Open Source Contributors