Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

建议:修改适配器读取配置的方式 #36

Open
lmtivy opened this issue Jul 30, 2024 · 1 comment
Open

建议:修改适配器读取配置的方式 #36

lmtivy opened this issue Jul 30, 2024 · 1 comment

Comments

@lmtivy
Copy link

lmtivy commented Jul 30, 2024

请问能不修改适配器读取配置的方式,不要固定在环境变量里面,让它们可以读取自己独立的配置文件?这样一个项目里可以随意组合启动不同的bots,我自己瞎修了一下,虽然可以用,但是希望可以看到大佬官方的版本!谢谢!

@CMHopeSunshine
Copy link
Member

Nonebot支持.env的配置文件,具体请参考官方文档

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants