[Python]I can't make !uptime command for my bot

  1. Remove you PASS from the hastebin
  2. The problem is that your request code is a) Not checking the HTTP Status Response and b) passing no headers.

So you are making a request to a API v5 URL but asking for the default of a v3 response.

You need to add a header to your requests.get of Accept: application/vnd.twitchtv.v5+json

I’m not familiar with python’s request function, so you’ll have to look that up yourself.