From a96cb0538af8a775ac3d341368baebbd9177cfc3 Mon Sep 17 00:00:00 2001 From: cdle <798731886@qq.com> Date: Mon, 20 Sep 2021 19:12:34 +0800 Subject: [PATCH] update --- core/test.go | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/core/test.go b/core/test.go index 3b787be..b6dd898 100644 --- a/core/test.go +++ b/core/test.go @@ -168,6 +168,12 @@ func initSys() { return "发送成功呢" }, }, + { + Rules: []string{"raw ^myuid$"}, + Handle: func(s Sender) interface{} { + return fmt.Sprint(s.GetUserID()) + }, + }, }) }