Zequez / reddit-placebot

A bot that paints on Reddit /r/place. Works with multiple accounts, and can work with a remote target file for multiple people with the same objective.
MIT License
227 stars 78 forks source link

Include timestamp in log & changed wrong color handling #20

Closed daphee closed 7 years ago

daphee commented 7 years ago

I included the console-stamp package so the log includes timestamps.

Also the script now prints all invalid color pixels at start at doesn't crash at a invalid pixel at runtime but skips them. I believe that this is the expected behavior for users who let the script run unattended for longer periods of time.

daphee commented 7 years ago

Haha, I just created the PR when you committed the new bundled action thing

daphee commented 7 years ago

BTW: I would include a delay between actions when processing them because sometimes reddit doesn't seem to commit a pixel fast enough on their side so the script paints the same pixel twice EDIT: I experienced this behavior with the old script when I had two accounts with the same cooldown

Zequez commented 7 years ago

This is not necessary anymore as the the bot now does color-matching so it accepts any color and tries to use the closest. And it also tells you the hour and minute of the next account, so timestamps aren't necessary.