Files
Pac-cogs/videoarchiver/core/commands.py
pacnpal 1748ab2188 Changed VideoArchiver to inherit from GroupCog instead of Cog
Moved all command definitions directly into the VideoArchiver class
Updated command decorators to use proper hybrid_group and hybrid_command syntax
Properly set up command error handling within the class
Removed external command setup in favor of class-based commands
Maintained backward compatibility through a stub commands.py file
2024-11-15 20:18:51 +00:00

14 lines
463 B
Python

"""Command handlers for VideoArchiver"""
# Commands have been moved to the VideoArchiver class in base.py
# This file is kept for backward compatibility and may be removed in a future version
from typing import TYPE_CHECKING
if TYPE_CHECKING:
from .base import VideoArchiver
def setup_commands(cog: "VideoArchiver") -> None:
"""Command setup is now handled in the VideoArchiver class"""
pass # Commands are now defined in the VideoArchiver class