Generally speaking a user access token will last for four hours. (A single hour is odd…)
For a chat bot, the token is only checked for validity when you connect to Twitch. When the key dies your bot is not DC’ed
So use the refresh token to automate collecting a obtaining a new token, when your bot boots/reconnects to chat.