Skip to content

Commit

Permalink
fix: Use correct commands directory
Browse files Browse the repository at this point in the history
  • Loading branch information
phoenixpereira committed Jun 21, 2024
1 parent 57400bd commit aeaf1f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit aeaf1f1

Please sign in to comment.