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()) + }, + }, }) }