I received an email about PubSub
If you recently received an email about Twitch's deprication of the PubSub system, you're likely using an older version of TwiWorks (1.0.x). This older version of TwiWorks used the PubSub system to listen to events, specifically channel points and some subscriber-related events. Unfortunately, this system is now being removed by Twitch, and as a result, these features will stop working in TwiWorks 1.0.x.
With TwiWorks 2.0, we migrated all of our systems over to EventSub (this includes the chat, which previously used IRC as well as all event subscriptions, which previously used either IRC or PubSub). With TwiWorks 2.1, we have also included a workaround that should stop occasional disconnections if no events were received in the first ~60 seconds, making this the recommended solution.
If you are not using any PubSub events, you might be able to continue using the old TwiWorks implementation. In this case, you will likely see various errors/warnings in your output log about the PubSub connection failing, but all other events that do not rely on PubSub (such as regular chat messages) will continue working as expected. With that being said, we still highly recommend updating to TwiWorks 2.x at your earliest convenience, as TwiWorks 1.0.x is no longer supported and will not receive any updates or bug fixes.
For more information about the (breaking) changes that were introduced with the TwiWorks 2.0 release, please take a look at this migration guide.