diff --git a/videoarchiver/core/response_handler.py b/videoarchiver/core/response_handler.py index bbf81f4..527c582 100644 --- a/videoarchiver/core/response_handler.py +++ b/videoarchiver/core/response_handler.py @@ -7,7 +7,12 @@ from datetime import datetime import discord # type: ignore from redbot.core.commands import Context # type: ignore -from ..utils.exceptions import ErrorSeverity +try: + # Try relative imports first + from ..utils.exceptions import ErrorSeverity +except ImportError: + # Fall back to absolute imports if relative imports fail + from videoarchiver.utils.exceptions import ErrorSeverity logger = logging.getLogger("VideoArchiver")