I've created a really small bot, and after couple of hours where it works fine, stopped working, and also now is crashing on start with this error:
PHP Warning: Undefined property: stdClass::$expires in /home/twitchBot/vendor/corbpie/twitch-api-class/src/twitchWrapper.php on line 82
Any idea how to fix it?