Skip to content
This repository has been archived by the owner on Dec 13, 2024. It is now read-only.

v1.1.0

Latest
Compare
Choose a tag to compare
@vanshb03 vanshb03 released this 01 Nov 00:28
· 1 commit to main since this release

v1.1.0 - Error Handling & Channel Management Update

Major Changes

  • Added resilient error handling system to prevent bot crashes from channel failures
  • Implemented channel failure tracking with a 3-strike retry system
  • Added concurrent message sending for improved performance
  • Introduced automatic channel recovery for temporary failures

New Features

  • Smart channel skip: Automatically bypasses consistently failing channels
  • Immediate handling of permission errors to save resources
  • Detailed error logging and status tracking for each channel
  • Channel redemption system: Failed channels can be recovered after successful message delivery
  • Asynchronous message dispatching using asyncio.gather

Technical Improvements

  • Added failed_channels set for permanent failure tracking
  • Implemented channel_failure_counts for temporary failure monitoring
  • Set MAX_RETRIES = 3 for channel failure tolerance
  • Enhanced logging system for better debugging
  • Optimized message sending with concurrent operations

Bug Fixes

  • Fixed bot crash on single channel failure
  • Resolved stuck sequential message sending
  • Improved handling of permission errors
  • Fixed resource waste on repeatedly failing channels