This commit is contained in:
cdle
2021-10-04 17:55:57 +08:00
parent 67c134c87e
commit 0f93b34ad1
+3
View File
@@ -31,6 +31,9 @@ func (ct *Chat) Push(content interface{}) {
} }
func NotifyMasters(content string) { func NotifyMasters(content string) {
if sillyGirl.GetBool("ignore_notify", true) == true {
return
}
for _, class := range []string{"tg", "qq"} { for _, class := range []string{"tg", "qq"} {
notify := Bucket(class).Get("notifiers") notify := Bucket(class).Get("notifiers")
if notify == "" { if notify == "" {