This commit is contained in:
cdle
2021-10-05 17:26:18 +08:00
parent 4b4515a12b
commit fee4e58dc0
4 changed files with 47 additions and 84 deletions
+3
View File
@@ -233,6 +233,9 @@ func start() {
}
}
OnGroupMessage := func(_ *client.QQClient, m *message.GroupMessage) {
if ignore := qq.Get("offGroups", "654346133"); strings.Contains(ignore, fmt.Sprint(m.GroupCode)) {
return
}
if listen := qq.Get("onGroups"); listen != "" && !strings.Contains(listen, fmt.Sprint(m.GroupCode)) {
return
}