chore: initial commit

This commit is contained in:
2024-12-30 03:01:21 -05:00
commit 47955cdfd5
15 changed files with 1322 additions and 0 deletions

18
commands/__init__.py Normal file
View File

@@ -0,0 +1,18 @@
import importlib
import inspect
from state import reloaded_modules
from . import tools, utils, voice
from .utils import *
def __reload_module__():
for name, module in globals().items():
if inspect.ismodule(module):
importlib.reload(module)
if "__reload_module__" in dir(module) and name not in reloaded_modules:
reloaded_modules.add(name)
module.__reload_module__()
globals().update({k: v for k, v in vars(utils).items() if not k.startswith("_")})