plugins : provide help url when plugin init failed

This commit is contained in:
lanvent
2023-03-26 15:27:15 +08:00
parent b3cabd9621
commit 167f10c9f9
3 changed files with 5 additions and 5 deletions

View File

@@ -38,7 +38,7 @@ class Banwords(Plugin):
self.handlers[Event.ON_HANDLE_CONTEXT] = self.on_handle_context
logger.info("[Banwords] inited")
except Exception as e:
logger.warn("Banwords init failed: %s" % e)
logger.warn("Banwords init failed: %s, ignore or see https://github.com/zhayujie/chatgpt-on-wechat/tree/master/plugins/banwords ." % e)