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

是否可新增重载配置文件功能? #2253

Open
Amazefcc233 opened this issue Jun 28, 2023 · 0 comments
Open

是否可新增重载配置文件功能? #2253

Amazefcc233 opened this issue Jun 28, 2023 · 0 comments

Comments

@Amazefcc233
Copy link

环境信息
go-cqhttp版本: None

需要添加的功能内容
当前在go-cqhttp的config.yml配置文件中,若需改动任何内容(比如说新增/删除一个http连接,亦或者是改动事件过滤器的内容等等),均需要关闭程序后重新打开才能够生效。
但当前风控趋于严格,现在也比较害怕会有这次关闭程序后下次就再也登录不上账号的可能性。想着是否有可能增加在不关闭程序的情况下直接重载配置文件的功能?
account配置项因为涉及可能账号需重新登录等等问题,可以不支持重载,其余的配置项可以视实际情况进行支持?
(与set_restart不同,当程序出现问题或其他情况时,仍提示并需要重启程序)

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

No branches or pull requests

1 participant