From 0f93b34ad12c5b801fa0bdb871fbe135aa38e7e0 Mon Sep 17 00:00:00 2001 From: cdle <798731886@qq.com> Date: Mon, 4 Oct 2021 17:55:57 +0800 Subject: [PATCH] update --- core/push.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/core/push.go b/core/push.go index 44cdaad..3ef88d1 100644 --- a/core/push.go +++ b/core/push.go @@ -31,6 +31,9 @@ func (ct *Chat) Push(content interface{}) { } func NotifyMasters(content string) { + if sillyGirl.GetBool("ignore_notify", true) == true { + return + } for _, class := range []string{"tg", "qq"} { notify := Bucket(class).Get("notifiers") if notify == "" {