bsquidwrd/Example-TwitchIO-Bot

Uptime

dev-viinz opened this issue · 0 comments

Sorry if this is a stupid question

Would anybody here have an idea on how to go about adding an !uptime command that returns the current time the streamer has been live?
My approach was to use ctx.get_stream but it always results in me getting a

twitchio.errors.Unauthorized: You're not authorized to use this route.

error...

Any help is greatly appreciated.