I I am brewing a lot of help with creating a Twitch bot

Then the first thing to do in this case is to learn the basics of JavaScript, then you’ll learn the building blocks you need to create the features you desire.

Is a good resource to load some JavaScript basics.

Learn the basics first then you can do something complicated like a bot.

Resubs you can pull from chat via a USERNOTICE message
Followers will involve polling the API or using Webhooks

https://dev.twitch.tv/docs/api/webhooks-guide

Depends one your source of Responses, personally I’d create an array of responses and shuffle the array picking one at random from the array.

I wouldn’t bother it’s chat spam and a user can get their own follow date from clicking on their own name. No need to clutter the chat, however

with a from_id and to_id will give the desired data

First you need to decide where you want to store the counters so when you bot restarts, crashes, disconnects, you can reload the counters. From there you build the code to match.

1 Like