测试定时任务

This commit is contained in:
liuwei
2025-05-20 15:19:01 +08:00
parent 10e2eeea3d
commit afc9aec80b

View File

@@ -576,7 +576,7 @@ class PluginManager:
def inject_bot(self, bot: WechatAPIClient):
self.system_context["bot"] = bot
for name, plugin in self.plugins.items():
self.LOG.debug(f"plugin name{name}, plugin: {plugin}")
# self.LOG.debug(f"plugin name{name}, plugin: {plugin}")
if hasattr(plugin, "set_bot"):
try:
plugin.set_bot(bot)