3urobeat / steam-comment-service-bot

📡 The most advanced Steam Account Manager Bot with mass coordinated comments/likes/favs/follows and plugin support
https://steamcommunity.com/id/3urobeatscommentbot
GNU General Public License v3.0
274 stars 40 forks source link

Cooldown Calculation Error (30 min -> 22 hours) #63

Closed 3urobeat closed 4 years ago

3urobeat commented 4 years ago

Describe the bug Requesting a comment with a 30 minute commentcooldown results in a 22 hour cooldown.

Full error /

Additional context Time that is already in ms gets multiplied by 1000

lastcomment[requesterSteamID] = {
                time: Date.now() + (((numberofcomments - 1) * config.commentdelay) * 1000) }
3urobeat commented 4 years ago

Fixed in commit 8847635 (Version 2.9.2).