From c2b5c9413c259b194efa46ea3135db7e0761c5d6 Mon Sep 17 00:00:00 2001 From: cdle <798731886@qq.com> Date: Sun, 17 Oct 2021 22:18:30 +0800 Subject: [PATCH] update --- core/function.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/core/function.go b/core/function.go index 9885909..4662d0d 100644 --- a/core/function.go +++ b/core/function.go @@ -7,6 +7,7 @@ import ( "regexp" "strings" + "github.com/beego/beego/v2/core/logs" cron "github.com/robfig/cron/v3" ) @@ -141,6 +142,7 @@ func handleMessage(sender Sender) { } } if matched { + logs.Info("%v ==> %v", sender.GetContent(), rule) if function.Admin && !sender.IsAdmin() { sender.Delete() sender.Disappear()