Do you have discord ? - My name is moonrise.
Click here - this part of the code in incorrect, I realized it sadly after posting 2-3 more parts. !results should be !response. Maybe this fixes your error.
Furthermore does this error mean a ( or { is opened but never closed, maybe a typo in your code ?
RE: TUTORIAL - Beginner - Build your own Steem Upvote Bot - JavaScript - Part 3