Additions:
- Added advancedconfig.json with lots of options
- Added basic plugin support
- Added a retryComments system that can automatically retry failed comments (#104)
- Added steamid-resolver support to !comment, !groupcomment, !abort, !failed, !rc, !addfriend, !unfriend, !block and !unblock commands so that you can now specify profile links as well and the bot automatically converts them to IDs
- Added !sessions and !mysessions command to view all active comment sessions and their status (owner only) as well as only sessions for your profile (all users)
- Added debug messages that can be enabled in the advancedconfig
- Added a create and restore backup system that is executed by updater
- Added module to convert ownerids to steamID64s to improve amount of accepted formats in config and increase ease of setup
- Added support for setting primaryGroup (sadly currently disabled by node-steamcommunity)
- Added useLocalIP setting to disable usage of your own IP in proxy system
- Added more default quotes
Reworks:
- Reworked profile- and groupcomment command files by splitting it up into modules and reworking loop
- Renamed cmisc.js file to commentmisc.js
- Renamed globalcommentcooldown value in config to botaccountcooldown
- Removed allowcommentcmdusage value from config as it is now controlled by maxComments
- Removed differentiation between error on first comment iteration and another, which was a relic from older versions and is now more of an inconvenience
- Removed a default quote that was >1000 chars, leading to error
Fixes:
- Fixed trailing slash in config owner & group urls causing a profile not found error in my node-steamid-resolver library (#119)
- Fixed proxy index in login error message being undefined, relog message showing wrong proxy index and removed error enum from relog error message as it was undefined
- Fixed unfriend check running even when unfriendtime is set to 0 (#124)
- Fixed chat messages failing when >1000 chars by cutting them and sending users a fallback message if Steam blocked a message (#125)
- Fixed config owner /profiles/ URL not being accepted
- Fixed multiple useradded messages from main bot when adding x child accounts while bot was offline
- Fixed typo leading to unfriendall cmd not working
- Fixed auth code not getting regenerated on relog if user provided shared_secret in logininfo, leading to invalid steam guard code and relog failing
- Fixed numberOfComments not provided check not checking correctly
- Fixed finished message being sent again when all proxies failed message had already been sent
- Fixed getQuote helper being able to return all quotes as array at once, leading to >1000 chars error
- Fixed group invites handling when acceptgroupinvites is disabled not working as expected
- Fixed botsgroup auto join feature not working and moved it to webSession event handler
- Fixed command spam protection not working
- Fixed webSession event handler constantly re-running when no botsgroup was set (caused by botsgroup checker)
- (Hopefully) fixed encryption error disconnect leading to relog breaking with steam-user update. Forum Thread
Changes:
- Improved accountOrder algorithm, it will now prioritize bot accounts the user is already friend with to avoid repeating friend request messages
- Using !unfriend command without providing profileid now unfriends the message sender with all bot accounts
- Drastically reduced the amount of log messages (especially on startup) and improved behaviour of log lib in stdout
- Changed order of called modules in controller.js to make more sense
- Changed update from chat instructions when automatic updater is turned off
- Moved webserver to a plugin that is shipped by default
- Delayed updater to make sure accounts log off loop has finished
- Ready message now shows project name instead of bot0 username
- Hiding "Deleting node_modules folder content" message in npminteraction helper when folder was created a second earlier to reduce possible confusion
- The bot now checks if the id of a bot account matches with an owner link/id in config and displays a warning
- Improved checkAndGetFile() to handle error on require and checking controller.js as well
- Improved code quality by changing many callbacks to promises (no more callback hell in controller.js hurray!), splitting more stuff up into modules and letting the logging lib handle reading input from stdin instead of doing it myself
- Reduced RAM usage (steam-user update)
- Improved startup time by a few seconds
- Fixed a few ascii art issues and added some more arts
- Updated dependencies
- Improved and refreshed README