Commit Graph

20 Commits

Author SHA1 Message Date
pacnpal
62c97f0b01 Converted all 'from videoarchiver.' imports to relative imports 2024-11-17 16:05:12 +00:00
pacnpal
c830be2841 videoarchiver/config/validation_manager.py
videoarchiver/config/role_manager.py
videoarchiver/database/connection_manager.py
videoarchiver/database/schema_manager.py
videoarchiver/queue/cleaners/tracking_cleaner.py
videoarchiver/exceptions.py
videoarchiver/processor.py
videoarchiver/commands.py
videoarchiver/update_checker.py
videoarchiver/utils/path_manager.py
videoarchiver/utils/file_ops.py
videoarchiver/processor/message_validator.py
videoarchiver/utils/download_manager.py
2024-11-17 06:12:41 +00:00
pacnpal
97e0d9c279 re-structure 2024-11-15 22:17:30 +00:00
pacnpal
5fedd97b61 yeah 2024-11-15 22:02:19 +00:00
pacnpal
42b3ceb314 Created /core module with specialized files:
base.py: Main cog class and initialization logic
cleanup.py: Resource cleanup functionality
commands.py: Command handlers
events.py: Event listeners
guild.py: Guild component management
init.py: Module exports
Improved code organization by:

Separating concerns into focused modules
Maintaining clear dependencies between modules
Keeping related functionality together
Making the codebase more maintainable
Preserved all existing functionality while making the code more modular and easier to maintain.
2024-11-15 20:01:45 +00:00
pacnpal
a72e4118e3 l 2024-11-15 02:22:29 +00:00
pacnpal
403b208abd what 2024-11-15 02:18:49 +00:00
pacnpal
a16b1ea7a4 fix: Change URL extraction in processor to use regex
- Replaced extractor.suitable() with direct regex pattern matching
- Added check for _VALID_URL attribute
- Improved error handling in URL extraction
- Maintains compatibility with video_downloader.py changes
2024-11-15 02:13:37 +00:00
pacnpal
7e4b33dd55 refactor: Convert commands to unique hybrid commands
- Reorganized commands into logical groups with unique prefixes:
  - va_: Core video archiver commands
  - vaq_: Queue management commands
  - vac_: Channel configuration commands
  - var_: Role management commands
  - vas_: Site management commands
- Updated all commands to be hybrid commands
- Updated README to reflect new command structure
- Maintained all existing functionality and parameters
2024-11-15 01:47:57 +00:00
pacnpal
e133fc6366 refactor: Convert all cogs to use hybrid commands - Update birthday cog to use hybrid commands - Update overseerr cog to use hybrid commands - Update videoarchiver to use hybrid command group 2024-11-15 01:19:03 +00:00
pacnpal
0f4fa8472e refactor: Break out commands into separate slash commands - Remove videoarchiver command group - Convert all commands to top-level slash commands - Update interaction handling 2024-11-15 01:13:33 +00:00
pacnpal
ebae02b83b fix: Add missing checks import from redbot.core 2024-11-15 01:08:39 +00:00
pacnpal
28e5736495 fix: Improve hybrid command implementation - Add consistent app_commands.guild_only() - Add proper parameter descriptions - Use app_commands.Range for numeric inputs 2024-11-15 01:00:25 +00:00
pacnpal
ba71081687 fix: Properly implement slash commands - Use app_commands for slash command support - Add proper command group structure - Handle command registration and syncing 2024-11-15 00:45:13 +00:00
pacnpal
cb1394f413 fix: Improve default handling for addrole and addmonitor - Clear lists when no parameter is provided to use defaults - Update help text and feedback messages 2024-11-15 00:42:05 +00:00
pacnpal
1588c5cb96 fix: Improve command handling and defaults - Add fallback for hybrid commands - Make addmonitor and addrole use defaults - Fix async cog loading 2024-11-15 00:40:12 +00:00
pacnpal
fa4c2ec208 fix: Remove manual command syncing and let Red-DiscordBot handle it 2024-11-15 00:30:45 +00:00
pacnpal
f6edef4658 fix: Properly initialize and register hybrid commands for both slash and legacy support 2024-11-15 00:26:48 +00:00
pacnpal
a373c455a9 fix: Change enable_sites command to use string parameter instead of *args for hybrid command compatibility 2024-11-15 00:07:57 +00:00
pacnpal
73f142addd fixed issues 2024-11-14 21:36:58 +00:00