根目录下的config.py设置没有作用怎么解决? #50
Answered
by
yanyongyu
zimarchangel
asked this question in
问答
Replies: 1 comment 3 replies
-
import config
nonebot.init(config) |
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
yanyongyu
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
在bot.py同一个目录下建立的config.py,应该是有被import,但是config.py里面的设置都没有作用
按着https://docs.nonebot.dev/guide/basic-configuration.html#基本配置 里面的说明一步步做的
python版本是3.9.5
求助了,谢谢
Beta Was this translation helpful? Give feedback.
All reactions