I am building a chatbot where the user may be connected for several hours at a time, which could be longer than the time an OAuth token is valid for.
Do I need to worry about the IRC connection terminating when the token expires? If so, how would I catch the disconnect? I don’t see anything regarding this in the documentation.