Do you even get the "Could not follow" error? Just stating that "it doesn't work" isn't very helpful. You need to start looking into the code yourself to find out where it's not working. Obviously if you want a response in the channel you also need the signal to parse the response, and nearly the entirety of the rest of the script if you want it to work at all.

You want your bot to follow the target and not yourself to follow the target? Did you retrieve an oauth token for paintballbot? (At least) these items need to be present in twitch.ini:

Code:
[#paintballbot]
client_id=xxxxxxxxxx
token=yyyyyyyyyy

[#paintballbot.scope]
user_follows_edit=1