debug
This commit is contained in:
@@ -576,6 +576,7 @@ class PluginManager:
|
|||||||
def inject_bot(self, bot: WechatAPIClient):
|
def inject_bot(self, bot: WechatAPIClient):
|
||||||
self.system_context["bot"] = bot
|
self.system_context["bot"] = bot
|
||||||
for name, plugin in self.plugins.items():
|
for name, plugin in self.plugins.items():
|
||||||
|
self.LOG.debug(f"plugin name{name}, plugin: {plugin}")
|
||||||
if hasattr(plugin, "set_bot"):
|
if hasattr(plugin, "set_bot"):
|
||||||
try:
|
try:
|
||||||
plugin.set_bot(bot)
|
plugin.set_bot(bot)
|
||||||
|
|||||||
Reference in New Issue
Block a user