Thank you for your contribution @nawab69 !
- I use this file to evaluate your work.
- Steem Posts URLs are not limited to steemit.com and thus this
message.content.startsWith("https://steemit.com")
could be refactored to a function e.g.isSteemURL(url)
- The
var
could be replaced by eitherconst
orlet
. - Your source code should have been formatted and properly indented.
JSON.parse
should be wrapped intry
..catch
in case of bad format data- Currently, what the bot can do is very limited and I would personally think this could be better fit to a tutorial category if you polish the texts a little bit.
Your contribution has been evaluated according to Utopian policies and guidelines, as well as a predefined set of questions pertaining to the category.
To view those questions and the relevant answers related to your post, click here.
Need help? Chat with us on Discord.
RE: Introducing mcBOT v0.1 to steemit and discord community