[IRC] Will I get disconnected from IRC if my OAuth token expires during the connection?


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.



You just need to refresh your token when you (re)connect to chat, start the bot

closed #3

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.