Hey so i'm making a bot that I use on twitch.tv (just for a bit of fun) and even after watching tutorials and checking websites that give code I still am clueless on how to implement a timer.
I currently have three classes
1st is the main class that sets up the bot
2nd is the bot class that interacts with the chat
the 3rd is set up to create the timer
What I want to have happening is when someone joins the chat it begins a timer that countdowns from 5 minutes and then runs some code and restarts, and when they part the chat the timer stops.
I already have the code set up to tell when someone joins and parts the chat.
If anyone could help that would be great!