feat(commands/bot): add uptime
This commit is contained in:
@@ -3,13 +3,16 @@ import inspect
|
||||
|
||||
from state import reloaded_modules
|
||||
|
||||
from . import tools, utils, voice
|
||||
from . import bot, tools, utils, voice
|
||||
from .utils import *
|
||||
|
||||
|
||||
def __reload_module__():
|
||||
for name, module in globals().items():
|
||||
if inspect.ismodule(module) and name not in constants.RELOAD_BLACKLISTED_MODULES:
|
||||
if (
|
||||
inspect.ismodule(module)
|
||||
and name not in constants.RELOAD_BLACKLISTED_MODULES
|
||||
):
|
||||
importlib.reload(module)
|
||||
if "__reload_module__" in dir(module) and name not in reloaded_modules:
|
||||
reloaded_modules.add(name)
|
||||
|
Reference in New Issue
Block a user