Commit Graph

4 Commits

Author SHA1 Message Date
pacnpal
01a9067368 Added proper command validation in the on_message event handler to prevent interference with command processing
Added missing asyncio import in events.py
Ensured all long-running operations are handled in background tasks
Fixed task initialization and management in base.py
2024-11-16 01:04:08 +00:00
pacnpal
46250b14d0 Fixed the prefix checking logic to properly handle multiple prefixes
Commands will now work correctly during initialization
Video processing features still wait for full initialization
Properly handle both single string and list prefixes
2024-11-16 00:42:31 +00:00
pacnpal
18b5d305f3 Commands will now work even during initialization
Only video processing features are blocked until initialization completes
The on_message event handler now checks if a message is a command first and lets it process normally
2024-11-16 00:39:40 +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