Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Re-implement !pb2uptime using new helix endpoint #61

Open
RAnders00 opened this issue Jul 9, 2019 · 1 comment
Open

Re-implement !pb2uptime using new helix endpoint #61

RAnders00 opened this issue Jul 9, 2019 · 1 comment
Labels
enhancement module PRs/issues relating to specific modules

Comments

@RAnders00
Copy link
Contributor

Helix has this new endpoint:

https://dev.twitch.tv/docs/api/reference/#get-streams

Which allows the bot to fetch the uptime without the ridiculous stream webhook system

@RAnders00 RAnders00 added enhancement module PRs/issues relating to specific modules labels Jul 9, 2019
@pajlada
Copy link
Member

pajlada commented Jul 13, 2019

I would like the uptime command to work the same way it works in pajbot1, where if a user goes live, streams for an hour, restarts OBS to change resolution, streams another hour, then a user types !uptime it returns 2 hours, not 1 hour. Not sure if that is possible if we just use the "started_at" time in this API

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement module PRs/issues relating to specific modules
Projects
None yet
Development

No branches or pull requests

2 participants