测试定时任务
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user