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{} {