This commit is contained in:
cdle
2023-06-29 21:18:50 +08:00
parent 7ea4710d16
commit d2c599dd68
4 changed files with 119 additions and 15 deletions
+1 -1
View File
@@ -150,7 +150,7 @@ func init() {
chans: make(map[string]chan string),
}
adapter := &core.Factory{}
adapter.Init("qq", botID)
adapter.Init("qq", botID, nil)
defer adapter.Destroy()
adapter.SetGroupKick(func(uid string, gid string, reject_add_request bool) bool {
qqcon.WriteJSON(CallApi{