update
This commit is contained in:
+6
-6
@@ -247,12 +247,12 @@ func start() {
|
||||
}
|
||||
}
|
||||
OnGroupMessage := func(_ *client.QQClient, m *message.GroupMessage) {
|
||||
if ignore := qq.Get("offGroups", "654346133&923993867"); strings.Contains(ignore, fmt.Sprint(m.GroupCode)) {
|
||||
return
|
||||
}
|
||||
if listen := qq.Get("onGroups"); listen != "" && !strings.Contains(listen, fmt.Sprint(m.GroupCode)) {
|
||||
return
|
||||
}
|
||||
// if ignore := qq.Get("offGroups", "654346133&923993867"); strings.Contains(ignore, fmt.Sprint(m.GroupCode)) {
|
||||
// return
|
||||
// }
|
||||
// if listen := qq.Get("onGroups"); listen != "" && !strings.Contains(listen, fmt.Sprint(m.GroupCode)) {
|
||||
// return
|
||||
// }
|
||||
core.Senders <- &Sender{
|
||||
Message: m,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user