Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update 0.3.1 #5

Merged
merged 28 commits into from Apr 12, 2018
Merged

Update 0.3.1 #5

merged 28 commits into from Apr 12, 2018

Conversation

planetenamek
Copy link
Owner

Release 0.3.1

New implementations

DiscoSteem-Bot is constantly evolving, in this update we have added several features that we will detail below.

  • $display-list : With this function you can now display the contents of the file (post-saved.json) containing all the selections of articles made by the curators.
  • $delete-post : With this function you can now delete an element contained in post-saved.json according to its ID.
  • $delete-all : This function resets the post-saved.json file to zero.
  • $count : This function simply counts the number of articles you have selected and which are in post-saved.json
  • $more-info : This feature will allow you to display a list of links to the most visited sites by Steemians. Of course you can mention an @ and the links will be displayed with your @ in the link, which will allow you to consult directly your information or that of any Steemians.
  • We also added a new filter on the StreamOp function, you can now follow the votes of an account on a specific tag. The bot will display a message in a channel that you have defined beforehand, with the different information on the voted article (voting weight, author and post link). To activate this function, simply configure the new parameters in the config.json file (trackerVoter and tagTrackerVoter)

Bug fixing

  • The setGame (deprecated ) function has been modified by the setActivity function.

About the code

Compared to version 0.2.1, we have reviewed the entire code architecture. You will notice in the./actions/ folder that we have added two:

  • discord-module.js
  • steem-module.js

The functions being more and more numerous, we wanted to keep a clear code. You will therefore find in each file the functions specific to each platform (steem, discord). This makes it easier to read and add new functions.

You will notice in particular that the code in cmd-bot.js is much clearer because we no longer have this gigantic list of "require".

@planetenamek planetenamek merged commit 9902de3 into master Apr 12, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant