Helping a friend with a custom bot and we can’t find a way to code uptime into the customer bot outside a timer and we rather not use timer commands because someone has to start it. Looking for maybe like what nightbot and other bots have for coding to show the uptime :)!
Does anyone have an updated version that works now that api.justin.tv doesn’t exist anymore? I tried to use api.twitch.tv. Though I was not able to get it to work. Would greatly appreciate this.
I am trying to get uptime to work in C#, but whenever I substract created_at from DateTime.Now the uptime is off by a few hours.
Probably due to the timezone difference between created_at and the server.
Sorry about the delay. I am scripting with IRC right now. Trying to impliment uptime so that I can use it to use the time to create a highlight time stamp/marker.