diff --git a/src/main.py b/src/main.py index 190f613..35febec 100644 --- a/src/main.py +++ b/src/main.py @@ -20,7 +20,7 @@ def __init__(self): async def setup_hook(self): # Dynamically load all command groups from the commands directory - for _, module_name, _ in pkgutil.iter_modules(["commands"]): + for _, module_name, _ in pkgutil.iter_modules(["src/commands"]): module = importlib.import_module(f"commands.{module_name}") for attribute_name in dir(module): attribute = getattr(module, attribute_name)