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

Version 2.16.0 #270

Merged
merged 128 commits into from
Feb 17, 2025
Merged

Version 2.16.0 #270

merged 128 commits into from
Feb 17, 2025

Conversation

3urobeat
Copy link
Owner

No description provided.

… mismatch when username/password includes e.g. "ip"
Ported from steam-mass-comment-bot
Ported from steam-mass-comment-bot
… detailed object

Due to this change, runCommand() will not send the owneronly error message anymore. The caller is responsible to forward the provided error message to the user, if desired.
…nt accounts are friends but acceptFriendRequests is disabled
…ilable

Previously the bot would only allow you to request n comments, where n does not exceed the amount of available accounts, instead of repeatedly using an account when the settings allow. The bot now calculates the amount of account re-uses beforehand and factors them in when validating a request where not all accounts are currently available.

Example: 4 accounts configured, user can request max 20 comments. Only 2 accounts currently available, user is still able to request 10 comments.
…d not provide one to reduce potential confusion
…en cookie login was used

By not providing a password in accounts.txt the password property in the logininfo entry of those accounts is set to an empty string. Using an empty String in a Regex results in every char being matched, leading to a gigantic wall of the replacement text.
…an account does not exist to communicate failure. Implementer must catch this error
…ceptFriendRequests false when 'all' was requested
…ble accounts

The unfollow command (and others) overwrite allAccounts (the set being used in the end) with all accounts found in ratingHistory (for follow in this case). This caused the bot attempting to use an account that was in ratingHistory.db but not actually in the set of logged in accounts.
…io dependency to this project itself

The steamcommunity lib contains cheerio and probably always will but it is a little safer to set the dependency right here as well.
@3urobeat 3urobeat merged commit b1b500c into master Feb 17, 2025
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant