Browse Source

Fix stupid import issue

Kirk Trombley 10 months ago
parent
commit
14d7796d9c
1 changed files with 2 additions and 3 deletions
  1. 2 3
      commands/commands/__init__.py

+ 2 - 3
commands/commands/__init__.py

@@ -2,9 +2,7 @@ import pkgutil
 
 from rollbot import get_command_config, CommandConfiguration
 
-for loader, module_name, is_pkg in pkgutil.walk_packages(__path__):
-    _module = loader.find_module(module_name).load_module(module_name)
-    globals()[module_name] = _module
+import commands.curse, commands.hangguy, commands.omen, commands.plex, commands.poll, commands.querying, commands.roll, commands.rollcoin, commands.session, commands.seychelles, commands.simple, commands.tarot, commands.teamspeak, commands.yell
 
 __all__ = ["config"]
 config = get_command_config().extend(
@@ -41,6 +39,7 @@ config = get_command_config().extend(
             "choose": "choice",
             "omens": "omen",
             "pollhearts": "poll",
+            "bubble": "bubblewrap",
         },
     )
 )