Tkd-Alex / Twitch-Channel-Points-Miner-v2

A simple script that will watch a stream for you and earn the channel points.
GNU General Public License v3.0
1.23k stars 688 forks source link

Refresh follow\sub channels [auto\timer\etc] #630

Open aVitomin opened 2 years ago

aVitomin commented 2 years ago

Right now i need restart script after i follow any new channel to add it in miner

Loading data iniciante only on start 0|twitch | 18/10 11:02:55 - Load followers from your profile! 0|twitch | 18/10 11:02:55 - Loading data for streamers. Please wait...

Need auto refresh if i follow\unfollow, subscribe\unsubscribe on channels auto or every % minutes

AdamT20054 commented 2 years ago

You could use PM2 to watch for file changes and then soft/hard restart the bot.

https://pm2.io/

It'll be in their docs somewhere, I use PM2 for my PY and JS projects :)

aVitomin commented 2 years ago

pm2 scheduler is a crutch

We need a good solution within the application itself, and not come up with some dubious solutions, right?

AdamT20054 commented 2 years ago

pm2 scheduler is a crutch

We need a good solution within the application itself, and not come up with some dubious solutions, right?

It seems like the project is dead, there are LOADS of issues that aren't being fixed..

I'm planning on overhauling this program over the next 3 weeks to implement all the fixes to issues.. I'll add this to the list of things. Or the repo owner can come back to the project and I'll help throw the fixes into a new version.