Closed 2018PAN closed 1 year ago
这种情况应该是有别的插件使用了 nonebot_plugin_htmlrender
但没有用 require
声明
你需要手动加载 nonebot_plugin_htmlrender
:
在 bot.py
里面 nonebot.load_plugin("nonebot_plugin_htmlrender")
这种情况应该是有别的插件使用了
nonebot_plugin_htmlrender
但没有用require
声明 你需要手动加载nonebot_plugin_htmlrender
: 在bot.py
里面nonebot.load_plugin("nonebot_plugin_htmlrender")
还是报一样的错误
看看你的 bot.py
是怎么写的
看看你的
bot.py
是怎么写的
好像解决了,把init.py中的require("nonebot_plugin_htmlrender")注释掉了,没发现bug
使用 require
是 nonebot 推荐的写法
你这样碰到别的用了 require
的插件还会报错(
使用
require
是 nonebot 推荐的写法 你这样碰到别的用了require
的插件还会报错(
好的,我看一下哪个插件调用htmlrender没require,调一下,非常感谢