From 0570a8d11e1143be6610f5a8577bd52697efe2dd Mon Sep 17 00:00:00 2001 From: cdle <798731886@qq.com> Date: Tue, 28 Sep 2021 00:37:19 +0800 Subject: [PATCH] update --- core/test.go | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/core/test.go b/core/test.go index 046cc53..2b9fbff 100644 --- a/core/test.go +++ b/core/test.go @@ -202,6 +202,12 @@ func initSys() { return fmt.Sprint(s.GetUserID()) }, }, + { + Rules: []string{"raw ^groupCode$"}, + Handle: func(s Sender) interface{} { + return fmt.Sprint(s.GetChatID()) + }, + }, { Rules: []string{"raw ^compiled_at$"}, Handle: func(s Sender) interface{} {