Commit Graph

9 Commits

Author SHA1 Message Date
pacnpal
d8ca4e5b8e fix imports 2024-11-14 23:24:48 +00:00
pacnpal
73f142addd fixed issues 2024-11-14 21:36:58 +00:00
pacnpal
fdebc0f494 Update message format and links
- Add original message link to archive message
- Add original message link to notification
- Update message format for better readability
- Add better reaction cleanup
- Add better error context
- Add better task management
2024-11-14 20:44:43 +00:00
pacnpal
acef03ba18 Update message handling and reactions
- Add 📹 reaction at start of processing
- Add  reaction during processing
- Change to  when complete
- Update message template to show username and channel
- Remove author mention for cleaner format
- Add better reaction cleanup on errors
- Add better error context and handling
2024-11-14 20:43:27 +00:00
pacnpal
c63d884f67 Improve error handling and task management
- Add custom exception classes for better error handling
- Add better error logging to Discord channels with retries
- Add proper task tracking with error callbacks
- Add better cleanup and resource management
- Add better version comparison for updates
- Add retries for Discord API operations
- Add better error context and recovery
- Add better component lifecycle management
2024-11-14 20:38:12 +00:00
pacnpal
2b9a070896 Improve error handling and dependencies
- Add aiohttp to requirements for better async HTTP handling
- Add proper timeout handling for GitHub API requests
- Add better error logging with tracebacks to Discord channels
- Add better task tracking and cleanup
- Add better file cleanup handling
- Add better component lifecycle management
2024-11-14 20:10:01 +00:00
pacnpal
69078025f6 Improve VideoArchiver cog reliability and resource management
- Make ThreadPoolExecutor per-guild instead of global
- Add proper thread pool cleanup on shutdown
- Add concurrent_downloads parameter to VideoDownloader
- Add proper cleanup of message manager tasks
- Add better component cleanup on cog unload
- Improve error handling throughout the cog
- Fix potential resource leaks
2024-11-14 20:01:12 +00:00
pacnpal
a8cbe110a4 Improve VideoArchiver cog reliability
- Add proper error handling for pkg_resources import
- Add setuptools to requirements for pkg_resources
- Add last_update_check tracking to prevent excessive checks
- Add timeout to GitHub API requests
- Improve error handling in update checker
- Add update check status to settings display
- Fix potential race conditions in update checker
2024-11-14 19:58:34 +00:00
pacnpal
6c2e277211 Add yt-dlp update functionality to VideoArchiver cog
- Add automatic yt-dlp version checking
- Add updateytdlp command for bot owners to update yt-dlp
- Add toggleupdates command to disable update notifications per guild
- Add disable_update_check setting to guild config
- Update README with new features and commands
- Improve update-related documentation
2024-11-14 19:51:43 +00:00