chore(qq_napcat): rewrite all napcat_bridge logic into this project to replace adapt into napcat_bridge

This commit is contained in:
NanamiAdmin committed 2026-08-05 17:07:29 +08:00
1 parent dc30675e0f
commit 1d09765a4a
9 files changed
+507 -184

No files matched your search

+6
View File
@@ -31,6 +31,12 @@ func LoadConfig(configPath string) (*Config, error) {
if cfg.ControllerMethod.QQ.ListenMethod == "" {
cfg.ControllerMethod.QQ.ListenMethod = "global"
}
if cfg.ControllerMethod.QQ.NapcatAddr == "" {
cfg.ControllerMethod.QQ.NapcatAddr = "127.0.0.1"
}
if cfg.ControllerMethod.QQ.NapcatPort == "" {
cfg.ControllerMethod.QQ.NapcatPort = "3000"
}
if cfg.ControllerMethod.QQ.Admins == nil {
cfg.ControllerMethod.QQ.Admins = []string{}
}