Changelog - Version 3.7 (2024-04-05)
Changed
- Updated
process_pubsub_messagefunction to accommodate changes in the structure of PubSub messages. - Refactored code to handle different versions of channel events (
channel-bits-events-vandchannel-subscribe-events-v). - Modified event processing logic to account for new data fields and event contexts.
- Enhanced the Twitch PubSub setup to include logging and reconnect functionality.
- Reverted the import statement from
import websockets as websocketback toimport websockets. - Changed all references of
websocketfunctions back towebsockets. - Moved the
api_logger.info(f"{uptime_text}")to a better location for accurate logging information. - Adjusted the scheduling of bot tasks for improved efficiency.
Added
- Added support for processing various versions of channel events (
channel-bits-events-vandchannel-subscribe-events-v) in theprocess_pubsub_messagefunction. - Implemented handling for additional data fields such as
contextandmulti_month_durationin subscription events. - Added new functions for handling
bits,regular subscriptions,gift subscriptions,anonymous gift subscriptions,multi-month subscriptions, andfollowersevents. - Expanded PubSub subscription to include more event types.
- Added handling for PING, RECONNECT, and AUTH_REVOKED messages in Twitch PubSub.
Fixed
- Fixed a bug where the connection closure was not properly handled in the Twitch PubSub setup.
Thank you for your feedback and support!
As always, your feedback is appreciated. Please report any issues, bugs, or suggestions in the #ticket-info channel on our Discord server. You can also submit feedback and bug reports directly on our website: https://botofthespecter.com/feedback.php